#2E1EA1#2E1EA1
#2E1EA1 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.195 H 276.2°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1EA1 |
|---|---|
| RGB | rgb(46, 30, 161) |
| HSL | hsl(247, 69%, 37%) |
| HSV | hsv(247, 81%, 63%) |
| CMYK | cmyk(71.4%, 81.4%, 0%, 36.9%) |
| CIE-LAB | lab(23.94, 47.17, -66.93) |
| CIE-LCH | lch(23.94, 81.88, 305.17°) |
| OKLab | oklab(36.53% 0.0211 -0.1934) |
| OKLCH | oklch(36.53% 0.195 276.2) |
| XYZ | xyz(8.0219, 4.0818, 34.0764) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.71
Royal
#0C1793
ΔE00 3.54
Cobalt Blue
#030AA7
ΔE00 3.66
Ultramarine
#2000B1
ΔE00 3.95
Royal Blue (survey)
#0504AA
ΔE00 4.05
True Blue
#010FCC
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1EA1 #91A11E
analogous
#1E50A1 #2E1EA1 #6F1EA1
triadic
#2E1EA1 #A12E1E #1EA12E
tetradic
#2E1EA1 #A11E50 #91A11E #1EA16F
square
#2E1EA1 #A11E50 #91A11E #1EA16F
split-complementary
#2E1EA1 #A16F1E #50A11E
monochromatic
#110B3A #1F146D #2E1EA1 #3D28D5 #6A59E0
Accessibility & contrast
On white
11.56
#2E1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2E1EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1EA1
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1EA1 | 1.00 | 11.56 | 1.82 | 11.56 |
| #FFFFFF | 11.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00339F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e1ea1; /* rgb */ color: rgb(46, 30, 161); /* oklch */ color: oklch(36.5% 0.195 276.2);
Tailwind
colors: {
custom: {
50: '#795ebe',
500: '#2e1ea1',
950: '#000000',
},
}SCSS
$custom: #2e1ea1; $custom-light: #795ebe; $custom-dark: #000000;
JSON
{
"hex": "#2e1ea1",
"rgb": {
"r": 46,
"g": 30,
"b": 161
},
"hsl": {
"h": 247.328,
"s": 68.586,
"l": 37.451
},
"oklch": {
"l": 0.36528,
"c": 0.1946,
"h": 276.2
},
"luminance": 0.04083
}Semantic roles & 50–950 ramp
primary
#2E1EA1
secondary
#B7C457
accent
#EB3CD6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981