#2E1B9B#2E1B9B
#2E1B9B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.190 H 277.3°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1B9B |
|---|---|
| RGB | rgb(46, 27, 155) |
| HSL | hsl(249, 70%, 36%) |
| HSV | hsv(249, 83%, 61%) |
| CMYK | cmyk(70.3%, 82.6%, 0%, 39.2%) |
| CIE-LAB | lab(22.76, 46.75, -65.21) |
| CIE-LCH | lch(22.76, 80.24, 305.64°) |
| OKLab | oklab(35.51% 0.0241 -0.1884) |
| OKLCH | oklch(35.51% 0.19 277.3) |
| XYZ | xyz(7.4331, 3.7306, 31.3323) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.94
Indigo Blue
#3A18B1
ΔE00 3.34
Cobalt Blue
#030AA7
ΔE00 3.45
Royal Blue (survey)
#0504AA
ΔE00 3.86
Ultramarine
#2000B1
ΔE00 3.96
Indigo (survey)
#380282
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1B9B #889B1B
analogous
#1B489B #2E1B9B #6E1B9B
triadic
#2E1B9B #9B2E1B #1B9B2E
tetradic
#2E1B9B #9B1B48 #889B1B #1B9B6E
square
#2E1B9B #9B1B48 #889B1B #1B9B6E
split-complementary
#2E1B9B #9B6E1B #489B1B
monochromatic
#0F0933 #1F1267 #2E1B9B #3D24CF #6550E0
Accessibility & contrast
On white
12.03
#2E1B9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2E1B9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1B9B
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1B9B | 1.00 | 12.03 | 1.75 | 12.03 |
| #FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9E
Deuteranopia (green-blind)
#003199
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2e1b9b; /* rgb */ color: rgb(46, 27, 155); /* oklch */ color: oklch(35.5% 0.190 277.3);
Tailwind
colors: {
custom: {
50: '#785cba',
500: '#2e1b9b',
950: '#000000',
},
}SCSS
$custom: #2e1b9b; $custom-light: #785cba; $custom-dark: #000000;
JSON
{
"hex": "#2e1b9b",
"rgb": {
"r": 46,
"g": 27,
"b": 155
},
"hsl": {
"h": 248.906,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.35508,
"c": 0.18997,
"h": 277.3
},
"luminance": 0.03731
}Semantic roles & 50–950 ramp
primary
#2E1B9B
secondary
#B2C34F
accent
#ED3BD3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981