#1E157B#1E157B
#1E157B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.160 H 274.6°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1E157B |
|---|---|
| RGB | rgb(30, 21, 123) |
| HSL | hsl(245, 71%, 28%) |
| HSV | hsv(245, 83%, 48%) |
| CMYK | cmyk(75.6%, 82.9%, 0%, 51.8%) |
| CIE-LAB | lab(16.71, 38.24, -55.24) |
| CIE-LCH | lch(16.71, 67.19, 304.69°) |
| OKLab | oklab(29.88% 0.0129 -0.1598) |
| OKLCH | oklch(29.88% 0.16 274.6) |
| XYZ | xyz(4.3776, 2.2420, 18.9371) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.35
Royal
#0C1793
ΔE00 3.61
Dark Royal Blue
#02066F
ΔE00 3.63
Deep Blue
#040273
ΔE00 3.85
Navy
#000080
ΔE00 3.87
Darkblue
#00008B
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E157B #727B15
analogous
#153F7B #1E157B #51157B
triadic
#1E157B #7B1E15 #157B1E
tetradic
#1E157B #7B153F #727B15 #157B51
square
#1E157B #7B153F #727B15 #157B51
split-complementary
#1E157B #7B5115 #3F7B15
monochromatic
#06041A #110C47 #1E157B #2B1EAF #3E2FDB
Accessibility & contrast
On white
14.50
#1E157B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1E157B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E157B
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E157B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E157B | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1e157b; /* rgb */ color: rgb(30, 21, 123); /* oklch */ color: oklch(29.9% 0.160 274.6);
Tailwind
colors: {
custom: {
50: '#6b55a2',
500: '#1e157b',
950: '#000000',
},
}SCSS
$custom: #1e157b; $custom-light: #6b55a2; $custom-dark: #000000;
JSON
{
"hex": "#1e157b",
"rgb": {
"r": 30,
"g": 21,
"b": 123
},
"hsl": {
"h": 245.294,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.29884,
"c": 0.16028,
"h": 274.6
},
"luminance": 0.02242
}Semantic roles & 50–950 ramp
primary
#1E157B
secondary
#A6B03B
accent
#EE3ADE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F