#1E158E#1E158E
#1E158E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.183 H 272.4°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1E158E |
|---|---|
| RGB | rgb(30, 21, 142) |
| HSL | hsl(244, 74%, 32%) |
| HSV | hsv(244, 85%, 56%) |
| CMYK | cmyk(78.9%, 85.2%, 0%, 44.3%) |
| CIE-LAB | lab(19.08, 44.34, -63.32) |
| CIE-LCH | lch(19.08, 77.30, 305.01°) |
| OKLab | oklab(32.21% 0.0077 -0.1832) |
| OKLCH | oklch(32.21% 0.183 272.4) |
| XYZ | xyz(5.6844, 2.7647, 25.8200) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.31
Darkblue
#00008B
ΔE00 3.40
Cobalt Blue
#030AA7
ΔE00 3.54
Royal Blue (survey)
#0504AA
ΔE00 4.04
Navy
#000080
ΔE00 4.20
Indigo (survey)
#380282
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E158E #858E15
analogous
#15498E #1E158E #5B158E
triadic
#1E158E #8E1E15 #158E1E
tetradic
#1E158E #8E1549 #858E15 #158E5B
square
#1E158E #8E1549 #858E15 #158E5B
split-complementary
#1E158E #8E5B15 #498E15
monochromatic
#070523 #130D59 #1E158E #291DC3 #483BE2
Accessibility & contrast
On white
13.52
#1E158E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1E158E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E158E
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E158E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E158E | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e158e; /* rgb */ color: rgb(30, 21, 142); /* oklch */ color: oklch(32.2% 0.183 272.4);
Tailwind
colors: {
custom: {
50: '#7057b0',
500: '#1e158e',
950: '#000000',
},
}SCSS
$custom: #1e158e; $custom-light: #7057b0; $custom-dark: #000000;
JSON
{
"hex": "#1e158e",
"rgb": {
"r": 30,
"g": 21,
"b": 142
},
"hsl": {
"h": 244.463,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.32206,
"c": 0.18332,
"h": 272.4
},
"luminance": 0.02765
}Semantic roles & 50–950 ramp
primary
#1E158E
secondary
#B8C23D
accent
#F137E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880