#2E41B1#2E41B1
#2E41B1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.178 H 269.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2E41B1 |
|---|---|
| RGB | rgb(46, 65, 177) |
| HSL | hsl(231, 59%, 44%) |
| HSV | hsv(231, 74%, 69%) |
| CMYK | cmyk(74%, 63.3%, 0%, 30.6%) |
| CIE-LAB | lab(32.99, 32.11, -61.65) |
| CIE-LCH | lch(32.99, 69.51, 297.51°) |
| OKLab | oklab(43.5% -0.0007 -0.1781) |
| OKLCH | oklch(43.5% 0.178 269.8) |
| XYZ | xyz(10.9501, 7.5346, 42.4637) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.75
Blue Blue
#2242C7
ΔE00 2.88
Ocean Blue
#4F42B5
ΔE00 4.61
Cobalt
#0047AB
ΔE00 4.68
Blueberry
#464196
ΔE00 5.33
Blue (survey)
#0343DF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E41B1 #B19E2E
analogous
#2E82B1 #2E41B1 #5C2EB1
triadic
#2E41B1 #B12E41 #41B12E
tetradic
#2E41B1 #B12E82 #B19E2E #2EB15C
square
#2E41B1 #B12E82 #B19E2E #2EB15C
split-complementary
#2E41B1 #B15C2E #82B12E
monochromatic
#151D50 #212F80 #2E41B1 #4C5FD0 #7C8ADD
Accessibility & contrast
On white
8.38
#2E41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2E41B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E41B1
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E41B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E41B1 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e41b1; /* rgb */ color: rgb(46, 65, 177); /* oklch */ color: oklch(43.5% 0.178 269.8);
Tailwind
colors: {
custom: {
50: '#7a75c9',
500: '#2e41b1',
950: '#000000',
},
}SCSS
$custom: #2e41b1; $custom-light: #7a75c9; $custom-dark: #000000;
JSON
{
"hex": "#2e41b1",
"rgb": {
"r": 46,
"g": 65,
"b": 177
},
"hsl": {
"h": 231.298,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.43501,
"c": 0.17815,
"h": 269.8
},
"luminance": 0.07536
}Semantic roles & 50–950 ramp
primary
#2E41B1
secondary
#C6BA75
accent
#CB46E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82