#1E1E96#1E1E96
#1E1E96 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.186 H 271.0°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1E96 |
|---|---|
| RGB | rgb(30, 30, 150) |
| HSL | hsl(240, 67%, 35%) |
| HSV | hsv(240, 80%, 59%) |
| CMYK | cmyk(80%, 80%, 0%, 41.2%) |
| CIE-LAB | lab(21.60, 42.43, -64.09) |
| CIE-LCH | lch(21.60, 76.86, 303.50°) |
| OKLab | oklab(34.24% 0.0032 -0.1856) |
| OKLCH | oklch(34.24% 0.186 271) |
| XYZ | xyz(6.5029, 3.4058, 29.1629) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.76
Cobalt Blue
#030AA7
ΔE00 3.76
Royal Blue (survey)
#0504AA
ΔE00 4.35
Indigo Blue
#3A18B1
ΔE00 4.91
Ultramarine
#2000B1
ΔE00 5.02
Darkblue
#00008B
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1E96 #96961E
analogous
#1E5A96 #1E1E96 #5A1E96
triadic
#1E1E96 #961E1E #1E961E
tetradic
#1E1E96 #961E5A #96961E #1E965A
square
#1E1E96 #961E5A #96961E #1E965A
split-complementary
#1E1E96 #965A1E #5A961E
monochromatic
#0A0A30 #141463 #1E1E96 #2828C9 #5252DC
Accessibility & contrast
On white
12.49
#1E1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1E1E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1E96
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1E96 | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#002E94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1e1e96; /* rgb */ color: rgb(30, 30, 150); /* oklch */ color: oklch(34.2% 0.186 271.0);
Tailwind
colors: {
custom: {
50: '#715cb6',
500: '#1e1e96',
950: '#000000',
},
}SCSS
$custom: #1e1e96; $custom-light: #715cb6; $custom-dark: #000000;
JSON
{
"hex": "#1e1e96",
"rgb": {
"r": 30,
"g": 30,
"b": 150
},
"hsl": {
"h": 240,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.34244,
"c": 0.18559,
"h": 271
},
"luminance": 0.03407
}Semantic roles & 50–950 ramp
primary
#1E1E96
secondary
#BFBF50
accent
#EA3EEA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980