Color
#2F3D63
Dark muted cool violet. Nearest reference color: Indigo dye.
RGB
0–255CMYK
0–100%RGB describes how #2F3D63 is represented with light on digital screens. This color combines red 47, green 61 and blue 99.
CMYK describes the same color using the four components commonly used in printing: cyan 52.53%, magenta 38.38%, yellow 0% and black 61.18%.
HSL values
In the HSL color model, #2F3D63 has a hue of 223.85°, 35.62% saturation and 28.63% lightness. The sliders below show where this color sits across each of these three dimensions.
Color insight
#2F3D63 is a dark, cool violet with muted chroma.
- Temperature
- Cool
- Lightness
- Dark
- Chroma
- Muted
Color formats
Copy #2F3D63 in a format ready to use in CSS, design tools or other applications.
#2F3D63
rgb(47, 61, 99)
hsl(223.85 35.62% 28.63%)
oklch(0.366641 0.068359 267.6417)
--color: #2F3D63;
Tints of #2F3D63
Tints are lighter variations of #2F3D63. They keep the character of the original color while moving progressively toward a lighter appearance.
Shades of #2F3D63
Shades are darker variations of #2F3D63. Moving toward black increases visual depth while preserving the underlying hue of the color.
Tones of #2F3D63
Tones reduce the chroma of #2F3D63, producing quieter and more muted variations without simply making the color lighter or darker.
Tonal range of #2F3D63
A continuous light-to-dark scale places #2F3D63 between its lighter tints and deeper shades.
CSS color scale
Use this tonal range as reusable CSS custom properties.
:root {
--color-100: #E7EEFF;
--color-200: #ACBEEC;
--color-300: #7F91BC;
--color-400: #56658F;
--color-500: #2F3D63;
--color-600: #202D51;
--color-700: #121D40;
--color-800: #060E30;
--color-900: #010220;
}
Colors that go with #2F3D63
Color harmonies for #2F3D63 are generated by rotating its hue in the OKLCH color space while preserving its lightness and chroma. This creates classic complementary, analogous, triadic and other hue relationships with more consistent perceptual balance.
Complementary
Opposite on the color wheel, creating the strongest direct hue contrast.
Triadic
Three evenly spaced hues that create a broader, balanced color relationship.
Split complementary
Two hues around the complementary color, providing contrast with more variation.
CSS gradients with #2F3D63
These gradients show how #2F3D63 moves toward white, black and its complementary color. Each gradient includes ready-to-use CSS that can be copied directly into a project.
Toward white
A light gradient that moves from the original color toward white.
background: linear-gradient(90deg, #2F3D63, #5D6A89, #9099AF, #C6CBD7, #FFFFFF);
Toward black
A dark gradient that moves from the original color toward black.
background: linear-gradient(90deg, #2F3D63, #1D2641, #0C1221, #010206, #000000);
Text contrast and accessibility
Contrast determines how clearly text can be distinguished from #2F3D63. The values below compare white and black text using WCAG contrast ratios.
Recommended text color: #FFFFFF . Relative luminance: 0.0484 .
Accessible CSS
Use the recommended text color with #2F3D63 as the background.
background-color: #2F3D63;
color: #FFFFFF;
Using #2F3D63 in design
See how #2F3D63 works in a simple interface. The examples below use the color as a background, accent and interface element, with text chosen from its accessibility result.
#2F3D63 used as a full background with its recommended text color.
Use #2F3D63 to emphasize selected interface elements without filling the entire surface.
Colors similar to #2F3D63
These nearby colors are generated from perceptual variations of #2F3D63, including changes in lightness, chroma and hue.
Color vision simulation
The simulations below show mathematical approximations of how #2F3D63 may shift under three forms of color vision deficiency. They are simulations, not a diagnosis or an exact representation of any individual person's vision.
Simulation based on the model by Machado, Oliveira and Fernandes (2009), published in IEEE Transactions on Visualization and Computer Graphics. DOI: 10.1109/TVCG.2009.113.
Advanced color values
Beyond RGB, CMYK and HSL, #2F3D63 can also be represented in perceptual and device-independent color spaces used in color science and modern design tools.
XYZ
- X
- 5.0924
- Y
- 4.8423
- Z
- 12.4683
CIELAB
- L*
- 26.2808
- a*
- 6.2497
- b*
- -24.2228
OKLab
- L
- 0.366641
- a
- -0.002813
- b
- -0.068301
OKLCH
- L
- 0.366641
- C
- 0.068359
- H
- 267.6417°