#2E1A93#2E1A93
#2E1A93 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.181 H 278.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1A93 |
|---|---|
| RGB | rgb(46, 26, 147) |
| HSL | hsl(250, 70%, 34%) |
| HSV | hsv(250, 82%, 58%) |
| CMYK | cmyk(68.7%, 82.3%, 0%, 42.4%) |
| CIE-LAB | lab(21.67, 44.78, -62.08) |
| CIE-LCH | lch(21.67, 76.55, 305.81°) |
| OKLab | oklab(34.49% 0.027 -0.1793) |
| OKLCH | oklch(34.49% 0.181 278.6) |
| XYZ | xyz(6.7609, 3.4256, 27.9030) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.64
Cobalt Blue
#030AA7
ΔE00 3.92
Royal Blue (survey)
#0504AA
ΔE00 4.35
Indigo Blue
#3A18B1
ΔE00 4.39
Indigo (survey)
#380282
ΔE00 4.52
Ultramarine
#2000B1
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1A93 #7F931A
analogous
#1A4393 #2E1A93 #6B1A93
triadic
#2E1A93 #932E1A #1A932E
tetradic
#2E1A93 #931A43 #7F931A #1A936B
square
#2E1A93 #931A43 #7F931A #1A936B
split-complementary
#2E1A93 #936B1A #43931A
monochromatic
#0D082B #1E115F #2E1A93 #3E23C7 #6149DF
Accessibility & contrast
On white
12.46
#2E1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2E1A93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1A93
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1A93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1A93 | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002F91
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e1a93; /* rgb */ color: rgb(46, 26, 147); /* oklch */ color: oklch(34.5% 0.181 278.6);
Tailwind
colors: {
custom: {
50: '#775bb4',
500: '#2e1a93',
950: '#000000',
},
}SCSS
$custom: #2e1a93; $custom-light: #775bb4; $custom-dark: #000000;
JSON
{
"hex": "#2e1a93",
"rgb": {
"r": 46,
"g": 26,
"b": 147
},
"hsl": {
"h": 249.917,
"s": 69.942,
"l": 33.922
},
"oklch": {
"l": 0.34485,
"c": 0.18133,
"h": 278.6
},
"luminance": 0.03426
}Semantic roles & 50–950 ramp
primary
#2E1A93
secondary
#ADC048
accent
#ED3BCF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980