#2E1AA1#2E1AA1
#2E1AA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.198 H 276.6°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1AA1 |
|---|---|
| RGB | rgb(46, 26, 161) |
| HSL | hsl(249, 72%, 37%) |
| HSV | hsv(249, 84%, 63%) |
| CMYK | cmyk(71.4%, 83.9%, 0%, 36.9%) |
| CIE-LAB | lab(23.31, 49.01, -67.97) |
| CIE-LCH | lch(23.31, 83.79, 305.79°) |
| OKLab | oklab(36.09% 0.0227 -0.1964) |
| OKLCH | oklch(36.09% 0.198 276.6) |
| XYZ | xyz(7.9270, 3.8921, 34.0448) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.58
Cobalt Blue
#030AA7
ΔE00 3.14
Ultramarine
#2000B1
ΔE00 3.35
Royal
#0C1793
ΔE00 3.37
Royal Blue (survey)
#0504AA
ΔE00 3.47
True Blue
#010FCC
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1AA1 #8DA11A
analogous
#1A4AA1 #2E1AA1 #721AA1
triadic
#2E1AA1 #A12E1A #1AA12E
tetradic
#2E1AA1 #A11A4A #8DA11A #1AA172
square
#2E1AA1 #A11A4A #8DA11A #1AA172
split-complementary
#2E1AA1 #A1721A #4AA11A
monochromatic
#100938 #1F116C #2E1AA1 #3D23D6 #6852E3
Accessibility & contrast
On white
11.81
#2E1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2E1AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1AA1
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1AA1 | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e1aa1; /* rgb */ color: rgb(46, 26, 161); /* oklch */ color: oklch(36.1% 0.198 276.6);
Tailwind
colors: {
custom: {
50: '#7a5cbe',
500: '#2e1aa1',
950: '#000000',
},
}SCSS
$custom: #2e1aa1; $custom-light: #7a5cbe; $custom-dark: #000000;
JSON
{
"hex": "#2e1aa1",
"rgb": {
"r": 46,
"g": 26,
"b": 161
},
"hsl": {
"h": 248.889,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.36093,
"c": 0.19772,
"h": 276.6
},
"luminance": 0.03893
}Semantic roles & 50–950 ramp
primary
#2E1AA1
secondary
#B5C651
accent
#EF39D4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981