#2E337E#2E337E
#2E337E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.125 H 275.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2E337E |
|---|---|
| RGB | rgb(46, 51, 126) |
| HSL | hsl(236, 47%, 34%) |
| HSV | hsv(236, 63%, 49%) |
| CMYK | cmyk(63.5%, 59.5%, 0%, 50.6%) |
| CIE-LAB | lab(25.12, 22.67, -43.31) |
| CIE-LCH | lch(25.12, 48.89, 297.63°) |
| OKLab | oklab(36.35% 0.0118 -0.1244) |
| OKLCH | oklch(36.35% 0.125 275.4) |
| XYZ | xyz(6.0752, 4.4544, 20.2743) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.03
Blueberry
#464196
ΔE00 5.80
Sapphire (survey)
#2138AB
ΔE00 6.94
Midnight Blue
#191970
ΔE00 7.36
Marine
#042E60
ΔE00 7.53
Marine Blue
#01386A
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E337E #7E792E
analogous
#2E5B7E #2E337E #512E7E
triadic
#2E337E #7E2E33 #337E2E
tetradic
#2E337E #7E2E5B #7E792E #2E7E51
square
#2E337E #7E2E5B #7E792E #2E7E51
split-complementary
#2E337E #7E512E #5B7E2E
monochromatic
#0D0F24 #1E2151 #2E337E #3E45AB #6167C5
Accessibility & contrast
On white
11.11
#2E337E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2E337E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E337E
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E337E | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e337e; /* rgb */ color: rgb(46, 51, 126); /* oklch */ color: oklch(36.3% 0.125 275.4);
Tailwind
colors: {
custom: {
50: '#706aa4',
500: '#2e337e',
950: '#000000',
},
}SCSS
$custom: #2e337e; $custom-light: #706aa4; $custom-dark: #000000;
JSON
{
"hex": "#2e337e",
"rgb": {
"r": 46,
"g": 51,
"b": 126
},
"hsl": {
"h": 236.25,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.36348,
"c": 0.12499,
"h": 275.4
},
"luminance": 0.04455
}Semantic roles & 50–950 ramp
primary
#2E337E
secondary
#ACA75C
accent
#CE52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F