#2E327E#2E327E
#2E327E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.126 H 275.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2E327E |
|---|---|
| RGB | rgb(46, 50, 126) |
| HSL | hsl(237, 47%, 34%) |
| HSV | hsv(237, 63%, 49%) |
| CMYK | cmyk(63.5%, 60.3%, 0%, 50.6%) |
| CIE-LAB | lab(24.85, 23.35, -43.74) |
| CIE-LCH | lch(24.85, 49.59, 298.09°) |
| OKLab | oklab(36.15% 0.0128 -0.1257) |
| OKLCH | oklch(36.15% 0.126 275.8) |
| XYZ | xyz(6.0320, 4.3679, 20.2598) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.10
Blueberry
#464196
ΔE00 5.92
Sapphire (survey)
#2138AB
ΔE00 6.96
Midnight Blue
#191970
ΔE00 7.06
Marine
#042E60
ΔE00 7.66
Royal
#0C1793
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E327E #7E7A2E
analogous
#2E5A7E #2E327E #522E7E
triadic
#2E327E #7E2E32 #327E2E
tetradic
#2E327E #7E2E5A #7E7A2E #2E7E52
square
#2E327E #7E2E5A #7E7A2E #2E7E52
split-complementary
#2E327E #7E522E #5A7E2E
monochromatic
#0D0E24 #1E2051 #2E327E #3E44AB #6166C5
Accessibility & contrast
On white
11.21
#2E327E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2E327E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E327E
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E327E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E327E | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e327e; /* rgb */ color: rgb(46, 50, 126); /* oklch */ color: oklch(36.1% 0.126 275.8);
Tailwind
colors: {
custom: {
50: '#706aa4',
500: '#2e327e',
950: '#000000',
},
}SCSS
$custom: #2e327e; $custom-light: #706aa4; $custom-dark: #000000;
JSON
{
"hex": "#2e327e",
"rgb": {
"r": 46,
"g": 50,
"b": 126
},
"hsl": {
"h": 237,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.3615,
"c": 0.12638,
"h": 275.8
},
"luminance": 0.04368
}Semantic roles & 50–950 ramp
primary
#2E327E
secondary
#ACA85C
accent
#D052D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F