#2E1D9F#2E1D9F
#2E1D9F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.193 H 276.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1D9F |
|---|---|
| RGB | rgb(46, 29, 159) |
| HSL | hsl(248, 69%, 37%) |
| HSV | hsv(248, 82%, 62%) |
| CMYK | cmyk(71.1%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(23.55, 47.03, -66.36) |
| CIE-LCH | lch(23.55, 81.34, 305.33°) |
| OKLab | oklab(36.19% 0.0221 -0.1918) |
| OKLCH | oklch(36.19% 0.193 276.6) |
| XYZ | xyz(7.8220, 3.9620, 33.1467) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.90
Royal
#0C1793
ΔE00 3.31
Cobalt Blue
#030AA7
ΔE00 3.56
Ultramarine
#2000B1
ΔE00 3.92
Royal Blue (survey)
#0504AA
ΔE00 3.95
True Blue
#010FCC
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1D9F #8E9F1D
analogous
#1D4D9F #2E1D9F #6F1D9F
triadic
#2E1D9F #9F2E1D #1D9F2E
tetradic
#2E1D9F #9F1D4D #8E9F1D #1D9F6F
square
#2E1D9F #9F1D4D #8E9F1D #1D9F6F
split-complementary
#2E1D9F #9F6F1D #4D9F1D
monochromatic
#100A37 #1F146B #2E1D9F #3D26D3 #6856E0
Accessibility & contrast
On white
11.71
#2E1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2E1D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1D9F
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1D9F | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e1d9f; /* rgb */ color: rgb(46, 29, 159); /* oklch */ color: oklch(36.2% 0.193 276.6);
Tailwind
colors: {
custom: {
50: '#795dbd',
500: '#2e1d9f',
950: '#000000',
},
}SCSS
$custom: #2e1d9f; $custom-light: #795dbd; $custom-dark: #000000;
JSON
{
"hex": "#2e1d9f",
"rgb": {
"r": 46,
"g": 29,
"b": 159
},
"hsl": {
"h": 247.846,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.36187,
"c": 0.19306,
"h": 276.6
},
"luminance": 0.03963
}Semantic roles & 50–950 ramp
primary
#2E1D9F
secondary
#B5C454
accent
#EC3CD5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981