#2E1AB3#2E1AB3
#2E1AB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.2% C 0.218 H 274.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1AB3 |
|---|---|
| RGB | rgb(46, 26, 179) |
| HSL | hsl(248, 75%, 40%) |
| HSV | hsv(248, 85%, 70%) |
| CMYK | cmyk(74.3%, 85.5%, 0%, 29.8%) |
| CIE-LAB | lab(25.48, 54.29, -75.23) |
| CIE-LCH | lch(25.48, 92.77, 305.82°) |
| OKLab | oklab(38.21% 0.0172 -0.2175) |
| OKLCH | oklch(38.21% 0.218 274.5) |
| XYZ | xyz(9.6301, 4.5733, 43.0143) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.20
Ultramarine
#2000B1
ΔE00 3.08
True Blue
#010FCC
ΔE00 3.16
Mediumblue
#0000CD
ΔE00 3.62
Cobalt Blue
#030AA7
ΔE00 3.83
Royal Blue (survey)
#0504AA
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1AB3 #9FB31A
analogous
#1A53B3 #2E1AB3 #7A1AB3
triadic
#2E1AB3 #B32E1A #1AB32E
tetradic
#2E1AB3 #B31A53 #9FB31A #1AB37A
square
#2E1AB3 #B31A53 #9FB31A #1AB37A
split-complementary
#2E1AB3 #B37A1A #53B31A
monochromatic
#130A48 #20127E #2E1AB3 #422AE0 #7160E8
Accessibility & contrast
On white
10.97
#2E1AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2E1AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1AB3
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1AB3 | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0035B0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e1ab3; /* rgb */ color: rgb(46, 26, 179); /* oklch */ color: oklch(38.2% 0.218 274.5);
Tailwind
colors: {
custom: {
50: '#7e5dcb',
500: '#2e1ab3',
950: '#000000',
},
}SCSS
$custom: #2e1ab3; $custom-light: #7e5dcb; $custom-dark: #000000;
JSON
{
"hex": "#2e1ab3",
"rgb": {
"r": 46,
"g": 26,
"b": 179
},
"hsl": {
"h": 247.843,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.38208,
"c": 0.21814,
"h": 274.5
},
"luminance": 0.04574
}Semantic roles & 50–950 ramp
primary
#2E1AB3
secondary
#BECC5D
accent
#F137D9
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982