#2E1E9A#2E1E9A
#2E1E9A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.186 H 277.1°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1E9A |
|---|---|
| RGB | rgb(46, 30, 154) |
| HSL | hsl(248, 67%, 36%) |
| HSV | hsv(248, 81%, 60%) |
| CMYK | cmyk(70.1%, 80.5%, 0%, 39.6%) |
| CIE-LAB | lab(23.14, 45.00, -63.97) |
| CIE-LCH | lch(23.14, 78.21, 305.12°) |
| OKLab | oklab(35.74% 0.0231 -0.1848) |
| OKLCH | oklch(35.74% 0.186 277.1) |
| XYZ | xyz(7.4218, 3.8418, 30.9160) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.04
Indigo Blue
#3A18B1
ΔE00 3.56
Cobalt Blue
#030AA7
ΔE00 3.90
Royal Blue (survey)
#0504AA
ΔE00 4.34
Ultramarine
#2000B1
ΔE00 4.47
Indigo (survey)
#380282
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1E9A #8A9A1E
analogous
#1E4C9A #2E1E9A #6C1E9A
triadic
#2E1E9A #9A2E1E #1E9A2E
tetradic
#2E1E9A #9A1E4C #8A9A1E #1E9A6C
square
#2E1E9A #9A1E4C #8A9A1E #1E9A6C
split-complementary
#2E1E9A #9A6C1E #4C9A1E
monochromatic
#0F0A34 #1F1467 #2E1E9A #3D28CD #6655DE
Accessibility & contrast
On white
11.88
#2E1E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2E1E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1E9A
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1E9A | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2e1e9a; /* rgb */ color: rgb(46, 30, 154); /* oklch */ color: oklch(35.7% 0.186 277.1);
Tailwind
colors: {
custom: {
50: '#785eb9',
500: '#2e1e9a',
950: '#000000',
},
}SCSS
$custom: #2e1e9a; $custom-light: #785eb9; $custom-dark: #000000;
JSON
{
"hex": "#2e1e9a",
"rgb": {
"r": 46,
"g": 30,
"b": 154
},
"hsl": {
"h": 247.742,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.35739,
"c": 0.18628,
"h": 277.1
},
"luminance": 0.03842
}Semantic roles & 50–950 ramp
primary
#2E1E9A
secondary
#B3C153
accent
#EA3ED4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981