#2E1BA0#2E1BA0
#2E1BA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.196 H 276.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1BA0 |
|---|---|
| RGB | rgb(46, 27, 160) |
| HSL | hsl(249, 71%, 37%) |
| HSV | hsv(249, 83%, 63%) |
| CMYK | cmyk(71.2%, 83.1%, 0%, 37.3%) |
| CIE-LAB | lab(23.34, 48.26, -67.30) |
| CIE-LCH | lch(23.34, 82.82, 305.64°) |
| OKLab | oklab(36.08% 0.0226 -0.1945) |
| OKLCH | oklch(36.08% 0.196 276.6) |
| XYZ | xyz(7.8617, 3.9020, 33.5897) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.72
Cobalt Blue
#030AA7
ΔE00 3.28
Royal
#0C1793
ΔE00 3.31
Ultramarine
#2000B1
ΔE00 3.56
Royal Blue (survey)
#0504AA
ΔE00 3.63
True Blue
#010FCC
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1BA0 #8DA01B
analogous
#1B4BA0 #2E1BA0 #711BA0
triadic
#2E1BA0 #A02E1B #1BA02E
tetradic
#2E1BA0 #A01B4B #8DA01B #1BA071
square
#2E1BA0 #A01B4B #8DA01B #1BA071
split-complementary
#2E1BA0 #A0711B #4BA01B
monochromatic
#100937 #1F126C #2E1BA0 #3D24D4 #6853E2
Accessibility & contrast
On white
11.79
#2E1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2E1BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1BA0
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1BA0 | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e1ba0; /* rgb */ color: rgb(46, 27, 160); /* oklch */ color: oklch(36.1% 0.196 276.6);
Tailwind
colors: {
custom: {
50: '#795cbd',
500: '#2e1ba0',
950: '#000000',
},
}SCSS
$custom: #2e1ba0; $custom-light: #795cbd; $custom-dark: #000000;
JSON
{
"hex": "#2e1ba0",
"rgb": {
"r": 46,
"g": 27,
"b": 160
},
"hsl": {
"h": 248.571,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.36082,
"c": 0.1958,
"h": 276.6
},
"luminance": 0.03903
}Semantic roles & 50–950 ramp
primary
#2E1BA0
secondary
#B5C552
accent
#EE3AD4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981