#2E3572#2E3572
#2E3572 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.8% C 0.104 H 274.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3572 |
|---|---|
| RGB | rgb(46, 53, 114) |
| HSL | hsl(234, 43%, 31%) |
| HSV | hsv(234, 60%, 45%) |
| CMYK | cmyk(59.6%, 53.5%, 0%, 55.3%) |
| CIE-LAB | lab(24.77, 16.91, -36.27) |
| CIE-LCH | lch(24.77, 40.01, 295.00°) |
| OKLab | oklab(35.8% 0.009 -0.1037) |
| OKLCH | oklch(35.8% 0.104 274.9) |
| XYZ | xyz(5.4361, 4.3416, 16.4679) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.06
Marine
#042E60
ΔE00 6.35
Blueberry
#464196
ΔE00 7.09
Marine Blue
#01386A
ΔE00 7.46
Navy Blue
#1B2A4A
ΔE00 7.88
Darkish Blue
#014182
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3572 #726B2E
analogous
#2E5772 #2E3572 #492E72
triadic
#2E3572 #722E35 #35722E
tetradic
#2E3572 #722E57 #726B2E #2E7249
square
#2E3572 #722E57 #726B2E #2E7249
split-complementary
#2E3572 #72492E #57722E
monochromatic
#0B0C1B #1C2146 #2E3572 #40499E #5D67BE
Accessibility & contrast
On white
11.24
#2E3572 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2E3572 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3572
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3572 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3572 | 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)
#143E74
Deuteranopia (green-blind)
#083871
Tritanopia (blue-blind)
#05434E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e3572; /* rgb */ color: rgb(46, 53, 114); /* oklch */ color: oklch(35.8% 0.104 274.9);
Tailwind
colors: {
custom: {
50: '#6d6c9b',
500: '#2e3572',
950: '#000000',
},
}SCSS
$custom: #2e3572; $custom-light: #6d6c9b; $custom-dark: #000000;
JSON
{
"hex": "#2e3572",
"rgb": {
"r": 46,
"g": 53,
"b": 114
},
"hsl": {
"h": 233.824,
"s": 42.5,
"l": 31.373
},
"oklch": {
"l": 0.35799,
"c": 0.10409,
"h": 274.9
},
"luminance": 0.04342
}Semantic roles & 50–950 ramp
primary
#2E3572
secondary
#A39C58
accent
#C556D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E