#2E41B5#2E41B5
#2E41B5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.183 H 269.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2E41B5 |
|---|---|
| RGB | rgb(46, 65, 181) |
| HSL | hsl(232, 59%, 45%) |
| HSV | hsv(232, 75%, 71%) |
| CMYK | cmyk(74.6%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(33.34, 33.57, -63.45) |
| CIE-LCH | lch(33.34, 71.79, 297.88°) |
| OKLab | oklab(43.86% -0.0009 -0.1834) |
| OKLCH | oklch(43.86% 0.183 269.7) |
| XYZ | xyz(11.3546, 7.6964, 44.5942) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.35
Sapphire (survey)
#2138AB
ΔE00 2.95
Ocean Blue
#4F42B5
ΔE00 4.43
Cobalt
#0047AB
ΔE00 4.94
Blue (survey)
#0343DF
ΔE00 5.20
Blueberry
#464196
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E41B5 #B5A22E
analogous
#2E84B5 #2E41B5 #5F2EB5
triadic
#2E41B5 #B52E41 #41B52E
tetradic
#2E41B5 #B52E84 #B5A22E #2EB55F
square
#2E41B5 #B52E84 #B5A22E #2EB55F
split-complementary
#2E41B5 #B55F2E #84B52E
monochromatic
#151E53 #222F84 #2E41B5 #4E61D2 #7F8CDE
Accessibility & contrast
On white
8.27
#2E41B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2E41B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E41B5
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E41B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E41B5 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e41b5; /* rgb */ color: rgb(46, 65, 181); /* oklch */ color: oklch(43.9% 0.183 269.7);
Tailwind
colors: {
custom: {
50: '#7b75cc',
500: '#2e41b5',
950: '#000000',
},
}SCSS
$custom: #2e41b5; $custom-light: #7b75cc; $custom-dark: #000000;
JSON
{
"hex": "#2e41b5",
"rgb": {
"r": 46,
"g": 65,
"b": 181
},
"hsl": {
"h": 231.556,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.43864,
"c": 0.18344,
"h": 269.7
},
"luminance": 0.07698
}Semantic roles & 50–950 ramp
primary
#2E41B5
secondary
#C7BC78
accent
#CC45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82