#2E41A9#2E41A9
#2E41A9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.167 H 269.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2E41A9 |
|---|---|
| RGB | rgb(46, 65, 169) |
| HSL | hsl(231, 57%, 42%) |
| HSV | hsv(231, 73%, 66%) |
| CMYK | cmyk(72.8%, 61.5%, 0%, 33.7%) |
| CIE-LAB | lab(32.31, 29.17, -57.99) |
| CIE-LCH | lch(32.31, 64.91, 296.70°) |
| OKLab | oklab(42.79% -0.0005 -0.1674) |
| OKLCH | oklch(42.79% 0.167 269.8) |
| XYZ | xyz(10.1760, 7.2250, 38.3867) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.72
Blue Blue
#2242C7
ΔE00 3.97
Cobalt
#0047AB
ΔE00 4.33
Blueberry
#464196
ΔE00 4.71
Ocean Blue
#4F42B5
ΔE00 5.16
Cobalt (survey)
#1E488F
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E41A9 #A9962E
analogous
#2E7EA9 #2E41A9 #592EA9
triadic
#2E41A9 #A92E41 #41A92E
tetradic
#2E41A9 #A92E7E #A9962E #2EA959
square
#2E41A9 #A92E7E #A9962E #2EA959
split-complementary
#2E41A9 #A9592E #7EA92E
monochromatic
#141C49 #212E79 #2E41A9 #475CCD #7787DA
Accessibility & contrast
On white
8.59
#2E41A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2E41A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E41A9
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E41A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E41A9 | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2e41a9; /* rgb */ color: rgb(46, 65, 169); /* oklch */ color: oklch(42.8% 0.167 269.8);
Tailwind
colors: {
custom: {
50: '#7875c3',
500: '#2e41a9',
950: '#000000',
},
}SCSS
$custom: #2e41a9; $custom-light: #7875c3; $custom-dark: #000000;
JSON
{
"hex": "#2e41a9",
"rgb": {
"r": 46,
"g": 65,
"b": 169
},
"hsl": {
"h": 230.732,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.42787,
"c": 0.16741,
"h": 269.8
},
"luminance": 0.07226
}Semantic roles & 50–950 ramp
primary
#2E41A9
secondary
#C2B671
accent
#C947E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82