#1E159E#1E159E
#1E159E is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.2% C 0.202 H 271.0°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1E159E |
|---|---|
| RGB | rgb(30, 21, 158) |
| HSL | hsl(244, 77%, 35%) |
| HSV | hsv(244, 87%, 62%) |
| CMYK | cmyk(81%, 86.7%, 0%, 38%) |
| CIE-LAB | lab(21.13, 49.26, -69.78) |
| CIE-LCH | lch(21.13, 85.42, 305.22°) |
| OKLab | oklab(34.21% 0.0035 -0.2019) |
| OKLCH | oklch(34.21% 0.202 271) |
| XYZ | xyz(6.9731, 3.2802, 32.6068) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 1.89
Royal
#0C1793
ΔE00 2.03
Royal Blue (survey)
#0504AA
ΔE00 2.41
Ultramarine
#2000B1
ΔE00 3.06
Indigo Blue
#3A18B1
ΔE00 3.90
Darkblue
#00008B
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E159E #959E15
analogous
#15509E #1E159E #63159E
triadic
#1E159E #9E1E15 #159E1E
tetradic
#1E159E #9E1550 #959E15 #159E63
square
#1E159E #9E1550 #959E15 #159E63
split-complementary
#1E159E #9E6315 #509E15
monochromatic
#090732 #140E68 #1E159E #281CD4 #5147E7
Accessibility & contrast
On white
12.68
#1E159E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1E159E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E159E
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E159E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E159E | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002C9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1e159e; /* rgb */ color: rgb(30, 21, 158); /* oklch */ color: oklch(34.2% 0.202 271.0);
Tailwind
colors: {
custom: {
50: '#7458bc',
500: '#1e159e',
950: '#000000',
},
}SCSS
$custom: #1e159e; $custom-light: #7458bc; $custom-dark: #000000;
JSON
{
"hex": "#1e159e",
"rgb": {
"r": 30,
"g": 21,
"b": 158
},
"hsl": {
"h": 243.942,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.34205,
"c": 0.2019,
"h": 271
},
"luminance": 0.03281
}Semantic roles & 50–950 ramp
primary
#1E159E
secondary
#BFC747
accent
#F335E7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981