#2E3571#2E3571
#2E3571 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.103 H 275.0°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3571 |
|---|---|
| RGB | rgb(46, 53, 113) |
| HSL | hsl(234, 42%, 31%) |
| HSV | hsv(234, 59%, 44%) |
| CMYK | cmyk(59.3%, 53.1%, 0%, 55.7%) |
| CIE-LAB | lab(24.70, 16.55, -35.74) |
| CIE-LCH | lch(24.70, 39.39, 294.84°) |
| OKLab | oklab(35.72% 0.0089 -0.1021) |
| OKLCH | oklch(35.72% 0.103 275) |
| XYZ | xyz(5.3795, 4.3189, 16.1697) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.19
Marine
#042E60
ΔE00 6.30
Blueberry
#464196
ΔE00 7.24
Marine Blue
#01386A
ΔE00 7.44
Navy Blue
#1B2A4A
ΔE00 7.74
Darkish Blue
#014182
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3571 #716A2E
analogous
#2E5671 #2E3571 #482E71
triadic
#2E3571 #712E35 #35712E
tetradic
#2E3571 #712E56 #716A2E #2E7148
square
#2E3571 #712E56 #716A2E #2E7148
split-complementary
#2E3571 #71482E #56712E
monochromatic
#0B0C1A #1C2146 #2E3571 #40499C #5D67BD
Accessibility & contrast
On white
11.27
#2E3571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2E3571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3571
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3571 | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#0A3870
Tritanopia (blue-blind)
#07434D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e3571; /* rgb */ color: rgb(46, 53, 113); /* oklch */ color: oklch(35.7% 0.103 275.0);
Tailwind
colors: {
custom: {
50: '#6d6c9a',
500: '#2e3571',
950: '#000000',
},
}SCSS
$custom: #2e3571; $custom-light: #6d6c9a; $custom-dark: #000000;
JSON
{
"hex": "#2e3571",
"rgb": {
"r": 46,
"g": 53,
"b": 113
},
"hsl": {
"h": 233.731,
"s": 42.138,
"l": 31.176
},
"oklch": {
"l": 0.35722,
"c": 0.10253,
"h": 275
},
"luminance": 0.04319
}Semantic roles & 50–950 ramp
primary
#2E3571
secondary
#A29B58
accent
#C556D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E