#2E41AA#2E41AA
#2E41AA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.169 H 269.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2E41AA |
|---|---|
| RGB | rgb(46, 65, 170) |
| HSL | hsl(231, 57%, 42%) |
| HSV | hsv(231, 73%, 67%) |
| CMYK | cmyk(72.9%, 61.8%, 0%, 33.3%) |
| CIE-LAB | lab(32.40, 29.54, -58.45) |
| CIE-LCH | lch(32.40, 65.49, 296.81°) |
| OKLab | oklab(42.88% -0.0005 -0.1688) |
| OKLCH | oklch(42.88% 0.169 269.8) |
| XYZ | xyz(10.2702, 7.2627, 38.8830) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.69
Blue Blue
#2242C7
ΔE00 3.83
Cobalt
#0047AB
ΔE00 4.36
Blueberry
#464196
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 5.08
Cobalt (survey)
#1E488F
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E41AA #AA972E
analogous
#2E7FAA #2E41AA #592EAA
triadic
#2E41AA #AA2E41 #41AA2E
tetradic
#2E41AA #AA2E7F #AA972E #2EAA59
square
#2E41AA #AA2E7F #AA972E #2EAA59
split-complementary
#2E41AA #AA592E #7FAA2E
monochromatic
#141C4A #212F7A #2E41AA #485CCD #7887DA
Accessibility & contrast
On white
8.56
#2E41AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2E41AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E41AA
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E41AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E41AA | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2e41aa; /* rgb */ color: rgb(46, 65, 170); /* oklch */ color: oklch(42.9% 0.169 269.8);
Tailwind
colors: {
custom: {
50: '#7875c4',
500: '#2e41aa',
950: '#000000',
},
}SCSS
$custom: #2e41aa; $custom-light: #7875c4; $custom-dark: #000000;
JSON
{
"hex": "#2e41aa",
"rgb": {
"r": 46,
"g": 65,
"b": 170
},
"hsl": {
"h": 230.806,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.42875,
"c": 0.16877,
"h": 269.8
},
"luminance": 0.07264
}Semantic roles & 50–950 ramp
primary
#2E41AA
secondary
#C3B671
accent
#C947E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82