#2E2F7E#2E2F7E
#2E2F7E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.130 H 276.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F7E |
|---|---|
| RGB | rgb(46, 47, 126) |
| HSL | hsl(239, 47%, 34%) |
| HSV | hsv(239, 63%, 49%) |
| CMYK | cmyk(63.5%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(24.06, 25.37, -45.03) |
| CIE-LCH | lch(24.06, 51.68, 299.40°) |
| OKLab | oklab(35.57% 0.0157 -0.1295) |
| OKLCH | oklch(35.57% 0.13 276.9) |
| XYZ | xyz(5.9079, 4.1198, 20.2185) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.42
Midnight Blue
#191970
ΔE00 6.18
Blueberry
#464196
ΔE00 6.37
Sapphire (survey)
#2138AB
ΔE00 7.12
Royal
#0C1793
ΔE00 7.55
Marine
#042E60
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F7E #7E7D2E
analogous
#2E577E #2E2F7E #552E7E
triadic
#2E2F7E #7E2E2F #2F7E2E
tetradic
#2E2F7E #7E2E57 #7E7D2E #2E7E55
square
#2E2F7E #7E2E57 #7E7D2E #2E7E55
split-complementary
#2E2F7E #7E552E #577E2E
monochromatic
#0D0E24 #1E1E51 #2E2F7E #3E40AB #6162C5
Accessibility & contrast
On white
11.51
#2E2F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2E2F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F7E
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F7E | 1.00 | 11.51 | 1.82 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e2f7e; /* rgb */ color: rgb(46, 47, 126); /* oklch */ color: oklch(35.6% 0.130 276.9);
Tailwind
colors: {
custom: {
50: '#7067a4',
500: '#2e2f7e',
950: '#000000',
},
}SCSS
$custom: #2e2f7e; $custom-light: #7067a4; $custom-dark: #000000;
JSON
{
"hex": "#2e2f7e",
"rgb": {
"r": 46,
"g": 47,
"b": 126
},
"hsl": {
"h": 239.25,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.35566,
"c": 0.13047,
"h": 276.9
},
"luminance": 0.0412
}Semantic roles & 50–950 ramp
primary
#2E2F7E
secondary
#ACAB5C
accent
#D452D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F