#2E327D#2E327D
#2E327D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.125 H 275.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2E327D |
|---|---|
| RGB | rgb(46, 50, 125) |
| HSL | hsl(237, 46%, 34%) |
| HSV | hsv(237, 63%, 49%) |
| CMYK | cmyk(63.2%, 60%, 0%, 51%) |
| CIE-LAB | lab(24.77, 22.99, -43.24) |
| CIE-LCH | lch(24.77, 48.97, 297.99°) |
| OKLab | oklab(36.07% 0.0128 -0.1243) |
| OKLCH | oklch(36.07% 0.125 275.9) |
| XYZ | xyz(5.9678, 4.3422, 19.9217) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.15
Blueberry
#464196
ΔE00 6.01
Midnight Blue
#191970
ΔE00 7.07
Sapphire (survey)
#2138AB
ΔE00 7.13
Marine
#042E60
ΔE00 7.56
Royal
#0C1793
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E327D #7D792E
analogous
#2E597D #2E327D #512E7D
triadic
#2E327D #7D2E32 #327D2E
tetradic
#2E327D #7D2E59 #7D792E #2E7D51
square
#2E327D #7D2E59 #7D792E #2E7D51
split-complementary
#2E327D #7D512E #597D2E
monochromatic
#0D0E24 #1E2050 #2E327D #3E44AA #6166C5
Accessibility & contrast
On white
11.24
#2E327D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2E327D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E327D
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E327D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E327D | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e327d; /* rgb */ color: rgb(46, 50, 125); /* oklch */ color: oklch(36.1% 0.125 275.9);
Tailwind
colors: {
custom: {
50: '#7069a3',
500: '#2e327d',
950: '#000000',
},
}SCSS
$custom: #2e327d; $custom-light: #7069a3; $custom-dark: #000000;
JSON
{
"hex": "#2e327d",
"rgb": {
"r": 46,
"g": 50,
"b": 125
},
"hsl": {
"h": 236.962,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.36065,
"c": 0.12491,
"h": 275.9
},
"luminance": 0.04343
}Semantic roles & 50–950 ramp
primary
#2E327D
secondary
#ABA75B
accent
#CF52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F