#2E337D#2E337D
#2E337D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.124 H 275.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2E337D |
|---|---|
| RGB | rgb(46, 51, 125) |
| HSL | hsl(236, 46%, 34%) |
| HSV | hsv(236, 63%, 49%) |
| CMYK | cmyk(63.2%, 59.2%, 0%, 51%) |
| CIE-LAB | lab(25.04, 22.31, -42.81) |
| CIE-LCH | lch(25.04, 48.27, 297.52°) |
| OKLab | oklab(36.26% 0.0117 -0.123) |
| OKLCH | oklch(36.26% 0.124 275.5) |
| XYZ | xyz(6.0110, 4.4287, 19.9361) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.09
Blueberry
#464196
ΔE00 5.89
Sapphire (survey)
#2138AB
ΔE00 7.10
Midnight Blue
#191970
ΔE00 7.38
Marine
#042E60
ΔE00 7.43
Marine Blue
#01386A
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E337D #7D782E
analogous
#2E5A7D #2E337D #502E7D
triadic
#2E337D #7D2E33 #337D2E
tetradic
#2E337D #7D2E5A #7D782E #2E7D50
square
#2E337D #7D2E5A #7D782E #2E7D50
split-complementary
#2E337D #7D502E #5A7D2E
monochromatic
#0D0E24 #1E2150 #2E337D #3E45AA #6167C5
Accessibility & contrast
On white
11.14
#2E337D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2E337D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E337D
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E337D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E337D | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e337d; /* rgb */ color: rgb(46, 51, 125); /* oklch */ color: oklch(36.3% 0.124 275.5);
Tailwind
colors: {
custom: {
50: '#706aa3',
500: '#2e337d',
950: '#000000',
},
}SCSS
$custom: #2e337d; $custom-light: #706aa3; $custom-dark: #000000;
JSON
{
"hex": "#2e337d",
"rgb": {
"r": 46,
"g": 51,
"b": 125
},
"hsl": {
"h": 236.203,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.36264,
"c": 0.12352,
"h": 275.5
},
"luminance": 0.04429
}Semantic roles & 50–950 ramp
primary
#2E337D
secondary
#ABA65B
accent
#CE52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F