#2E1BA6#2E1BA6
#2E1BA6 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.8% C 0.203 H 275.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1BA6 |
|---|---|
| RGB | rgb(46, 27, 166) |
| HSL | hsl(248, 72%, 38%) |
| HSV | hsv(248, 84%, 65%) |
| CMYK | cmyk(72.3%, 83.7%, 0%, 34.9%) |
| CIE-LAB | lab(24.05, 50.06, -69.77) |
| CIE-LCH | lch(24.05, 85.87, 305.66°) |
| OKLab | oklab(36.78% 0.0208 -0.2017) |
| OKLCH | oklch(36.78% 0.203 275.9) |
| XYZ | xyz(8.3993, 4.1171, 36.4210) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.03
Ultramarine
#2000B1
ΔE00 3.22
Cobalt Blue
#030AA7
ΔE00 3.27
Royal Blue (survey)
#0504AA
ΔE00 3.55
Royal
#0C1793
ΔE00 3.88
True Blue
#010FCC
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1BA6 #93A61B
analogous
#1B4EA6 #2E1BA6 #731BA6
triadic
#2E1BA6 #A62E1B #1BA62E
tetradic
#2E1BA6 #A61B4E #93A61B #1BA673
square
#2E1BA6 #A61B4E #93A61B #1BA673
split-complementary
#2E1BA6 #A6731B #4EA61B
monochromatic
#110A3D #1F1271 #2E1BA6 #3D24DB #6B58E4
Accessibility & contrast
On white
11.52
#2E1BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2E1BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1BA6
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1BA6 | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0033A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e1ba6; /* rgb */ color: rgb(46, 27, 166); /* oklch */ color: oklch(36.8% 0.203 275.9);
Tailwind
colors: {
custom: {
50: '#7b5dc2',
500: '#2e1ba6',
950: '#000000',
},
}SCSS
$custom: #2e1ba6; $custom-light: #7b5dc2; $custom-dark: #000000;
JSON
{
"hex": "#2e1ba6",
"rgb": {
"r": 46,
"g": 27,
"b": 166
},
"hsl": {
"h": 248.201,
"s": 72.021,
"l": 37.843
},
"oklch": {
"l": 0.36777,
"c": 0.20273,
"h": 275.9
},
"luminance": 0.04118
}Semantic roles & 50–950 ramp
primary
#2E1BA6
secondary
#B8C756
accent
#EF39D6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982