#2F2E77#2F2E77
#2F2E77 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.121 H 278.6°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E77 |
|---|---|
| RGB | rgb(47, 46, 119) |
| HSL | hsl(241, 44%, 32%) |
| HSV | hsv(241, 61%, 47%) |
| CMYK | cmyk(60.5%, 61.3%, 0%, 53.3%) |
| CIE-LAB | lab(23.30, 23.72, -41.82) |
| CIE-LCH | lch(23.30, 48.08, 299.56°) |
| OKLab | oklab(34.85% 0.0183 -0.1201) |
| OKLCH | oklch(34.85% 0.121 278.6) |
| XYZ | xyz(5.4780, 3.8899, 17.9113) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.77
Midnight Blue
#191970
ΔE00 6.01
Blueberry
#464196
ΔE00 7.06
Marine
#042E60
ΔE00 7.88
Royal
#0C1793
ΔE00 8.22
Sapphire (survey)
#2138AB
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E77 #76772E
analogous
#2E5277 #2F2E77 #542E77
triadic
#2F2E77 #772F2E #2E772F
tetradic
#2F2E77 #772E52 #76772E #2E7754
square
#2F2E77 #772E52 #76772E #2E7754
split-complementary
#2F2E77 #77542E #52772E
monochromatic
#0C0C1F #1E1D4B #2F2E77 #403FA3 #605EC1
Accessibility & contrast
On white
11.81
#2F2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2F2E77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E77
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E77 | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#023F4D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2e77; /* rgb */ color: rgb(47, 46, 119); /* oklch */ color: oklch(34.8% 0.121 278.6);
Tailwind
colors: {
custom: {
50: '#6f679f',
500: '#2f2e77',
950: '#000000',
},
}SCSS
$custom: #2f2e77; $custom-light: #6f679f; $custom-dark: #000000;
JSON
{
"hex": "#2f2e77",
"rgb": {
"r": 47,
"g": 46,
"b": 119
},
"hsl": {
"h": 240.822,
"s": 44.242,
"l": 32.353
},
"oklch": {
"l": 0.34845,
"c": 0.12145,
"h": 278.6
},
"luminance": 0.0389
}Semantic roles & 50–950 ramp
primary
#2F2E77
secondary
#A7A859
accent
#D454D2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E