#2E2F7B#2E2F7B
#2E2F7B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.126 H 277.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F7B |
|---|---|
| RGB | rgb(46, 47, 123) |
| HSL | hsl(239, 46%, 33%) |
| HSV | hsv(239, 63%, 48%) |
| CMYK | cmyk(62.6%, 61.8%, 0%, 51.8%) |
| CIE-LAB | lab(23.81, 24.29, -43.53) |
| CIE-LCH | lch(23.81, 49.85, 299.16°) |
| OKLab | oklab(35.31% 0.0158 -0.1251) |
| OKLCH | oklch(35.31% 0.126 277.2) |
| XYZ | xyz(5.7172, 4.0435, 19.2142) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.53
Midnight Blue
#191970
ΔE00 6.19
Blueberry
#464196
ΔE00 6.60
Sapphire (survey)
#2138AB
ΔE00 7.60
Marine
#042E60
ΔE00 7.85
Royal
#0C1793
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F7B #7B7A2E
analogous
#2E557B #2E2F7B #532E7B
triadic
#2E2F7B #7B2E2F #2F7B2E
tetradic
#2E2F7B #7B2E55 #7B7A2E #2E7B53
square
#2E2F7B #7B2E55 #7B7A2E #2E7B53
split-complementary
#2E2F7B #7B532E #557B2E
monochromatic
#0D0D22 #1D1E4E #2E2F7B #3F40A8 #6061C3
Accessibility & contrast
On white
11.61
#2E2F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2E2F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F7B
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F7B | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e2f7b; /* rgb */ color: rgb(46, 47, 123); /* oklch */ color: oklch(35.3% 0.126 277.2);
Tailwind
colors: {
custom: {
50: '#7067a2',
500: '#2e2f7b',
950: '#000000',
},
}SCSS
$custom: #2e2f7b; $custom-light: #7067a2; $custom-dark: #000000;
JSON
{
"hex": "#2e2f7b",
"rgb": {
"r": 46,
"g": 47,
"b": 123
},
"hsl": {
"h": 239.221,
"s": 45.562,
"l": 33.137
},
"oklch": {
"l": 0.35305,
"c": 0.12614,
"h": 277.2
},
"luminance": 0.04044
}Semantic roles & 50–950 ramp
primary
#2E2F7B
secondary
#AAA95B
accent
#D453D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F