#2E1E9B#2E1E9B
#2E1E9B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.187 H 277.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1E9B |
|---|---|
| RGB | rgb(46, 30, 155) |
| HSL | hsl(248, 68%, 36%) |
| HSV | hsv(248, 81%, 61%) |
| CMYK | cmyk(70.3%, 80.6%, 0%, 39.2%) |
| CIE-LAB | lab(23.25, 45.31, -64.39) |
| CIE-LCH | lch(23.25, 78.74, 305.13°) |
| OKLab | oklab(35.85% 0.0228 -0.1861) |
| OKLCH | oklch(35.85% 0.187 277) |
| XYZ | xyz(7.5055, 3.8753, 31.3565) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.10
Indigo Blue
#3A18B1
ΔE00 3.43
Cobalt Blue
#030AA7
ΔE00 3.85
Royal Blue (survey)
#0504AA
ΔE00 4.28
Ultramarine
#2000B1
ΔE00 4.39
Indigo (survey)
#380282
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1E9B #8B9B1E
analogous
#1E4D9B #2E1E9B #6D1E9B
triadic
#2E1E9B #9B2E1E #1E9B2E
tetradic
#2E1E9B #9B1E4D #8B9B1E #1E9B6D
square
#2E1E9B #9B1E4D #8B9B1E #1E9B6D
split-complementary
#2E1E9B #9B6D1E #4D9B1E
monochromatic
#100A34 #1F1468 #2E1E9B #3D28CE #6755DE
Accessibility & contrast
On white
11.83
#2E1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2E1E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1E9B
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1E9B | 1.00 | 11.83 | 1.78 | 11.83 |
| #FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2e1e9b; /* rgb */ color: rgb(46, 30, 155); /* oklch */ color: oklch(35.9% 0.187 277.0);
Tailwind
colors: {
custom: {
50: '#785eba',
500: '#2e1e9b',
950: '#000000',
},
}SCSS
$custom: #2e1e9b; $custom-light: #785eba; $custom-dark: #000000;
JSON
{
"hex": "#2e1e9b",
"rgb": {
"r": 46,
"g": 30,
"b": 155
},
"hsl": {
"h": 247.68,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.35851,
"c": 0.18748,
"h": 277
},
"luminance": 0.03876
}Semantic roles & 50–950 ramp
primary
#2E1E9B
secondary
#B3C253
accent
#EA3DD4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981