#2F2E9F#2F2E9F
#2F2E9F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.176 H 274.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E9F |
|---|---|
| RGB | rgb(47, 46, 159) |
| HSL | hsl(241, 55%, 40%) |
| HSV | hsv(241, 71%, 62%) |
| CMYK | cmyk(70.4%, 71.1%, 0%, 37.6%) |
| CIE-LAB | lab(26.91, 37.82, -60.81) |
| CIE-LCH | lch(26.91, 71.61, 301.88°) |
| OKLab | oklab(38.58% 0.0145 -0.1757) |
| OKLCH | oklch(38.58% 0.176 274.7) |
| XYZ | xyz(8.4052, 5.0607, 33.3280) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Indigo Blue
#3A18B1
ΔE00 5.35
Royal
#0C1793
ΔE00 5.85
Blueberry
#464196
ΔE00 6.20
Darkslateblue
#483D8B
ΔE00 6.63
Cobalt Blue
#030AA7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E9F #9E9F2E
analogous
#2E659F #2F2E9F #672E9F
triadic
#2F2E9F #9F2F2E #2E9F2F
tetradic
#2F2E9F #9F2E65 #9E9F2E #2E9F67
square
#2F2E9F #9F2E65 #9E9F2E #2E9F67
split-complementary
#2F2E9F #9F672E #659F2E
monochromatic
#131340 #212070 #2F2E9F #4342C8 #7271D6
Accessibility & contrast
On white
10.44
#2F2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2F2E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E9F
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E9F | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2e9f; /* rgb */ color: rgb(47, 46, 159); /* oklch */ color: oklch(38.6% 0.176 274.7);
Tailwind
colors: {
custom: {
50: '#7868bc',
500: '#2f2e9f',
950: '#000000',
},
}SCSS
$custom: #2f2e9f; $custom-light: #7868bc; $custom-dark: #000000;
JSON
{
"hex": "#2f2e9f",
"rgb": {
"r": 47,
"g": 46,
"b": 159
},
"hsl": {
"h": 240.531,
"s": 55.122,
"l": 40.196
},
"oklch": {
"l": 0.38579,
"c": 0.17634,
"h": 274.7
},
"luminance": 0.05062
}Semantic roles & 50–950 ramp
primary
#2F2E9F
secondary
#BDBE6B
accent
#DE49DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81