#2E1B9F#2E1B9F
#2E1B9F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.195 H 276.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1B9F |
|---|---|
| RGB | rgb(46, 27, 159) |
| HSL | hsl(249, 71%, 36%) |
| HSV | hsv(249, 83%, 62%) |
| CMYK | cmyk(71.1%, 83%, 0%, 37.6%) |
| CIE-LAB | lab(23.23, 47.96, -66.89) |
| CIE-LCH | lch(23.23, 82.31, 305.64°) |
| OKLab | oklab(35.97% 0.0229 -0.1933) |
| OKLCH | oklch(35.97% 0.195 276.8) |
| XYZ | xyz(7.7746, 3.8672, 33.1309) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.84
Royal
#0C1793
ΔE00 3.23
Cobalt Blue
#030AA7
ΔE00 3.30
Ultramarine
#2000B1
ΔE00 3.63
Royal Blue (survey)
#0504AA
ΔE00 3.67
True Blue
#010FCC
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1B9F #8C9F1B
analogous
#1B4A9F #2E1B9F #701B9F
triadic
#2E1B9F #9F2E1B #1B9F2E
tetradic
#2E1B9F #9F1B4A #8C9F1B #1B9F70
square
#2E1B9F #9F1B4A #8C9F1B #1B9F70
split-complementary
#2E1B9F #9F701B #4A9F1B
monochromatic
#100936 #1F126B #2E1B9F #3D24D3 #6753E2
Accessibility & contrast
On white
11.84
#2E1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2E1B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1B9F
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1B9F | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2e1b9f; /* rgb */ color: rgb(46, 27, 159); /* oklch */ color: oklch(36.0% 0.195 276.8);
Tailwind
colors: {
custom: {
50: '#795cbd',
500: '#2e1b9f',
950: '#000000',
},
}SCSS
$custom: #2e1b9f; $custom-light: #795cbd; $custom-dark: #000000;
JSON
{
"hex": "#2e1b9f",
"rgb": {
"r": 46,
"g": 27,
"b": 159
},
"hsl": {
"h": 248.636,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.35967,
"c": 0.19464,
"h": 276.8
},
"luminance": 0.03868
}Semantic roles & 50–950 ramp
primary
#2E1B9F
secondary
#B4C551
accent
#EE3AD4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981