#1E158D#1E158D
#1E158D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.182 H 272.5°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1E158D |
|---|---|
| RGB | rgb(30, 21, 141) |
| HSL | hsl(245, 74%, 32%) |
| HSV | hsv(245, 85%, 55%) |
| CMYK | cmyk(78.7%, 85.1%, 0%, 44.7%) |
| CIE-LAB | lab(18.95, 44.03, -62.90) |
| CIE-LCH | lch(18.95, 76.78, 304.99°) |
| OKLab | oklab(32.08% 0.008 -0.182) |
| OKLCH | oklch(32.08% 0.182 272.5) |
| XYZ | xyz(5.6097, 2.7348, 25.4264) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.38
Darkblue
#00008B
ΔE00 3.38
Cobalt Blue
#030AA7
ΔE00 3.67
Navy
#000080
ΔE00 4.13
Royal Blue (survey)
#0504AA
ΔE00 4.17
Indigo (survey)
#380282
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E158D #848D15
analogous
#15488D #1E158D #5A158D
triadic
#1E158D #8D1E15 #158D1E
tetradic
#1E158D #8D1548 #848D15 #158D5A
square
#1E158D #8D1548 #848D15 #158D5A
split-complementary
#1E158D #8D5A15 #488D15
monochromatic
#070522 #130D58 #1E158D #291DC2 #473BE2
Accessibility & contrast
On white
13.57
#1E158D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1E158D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E158D
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E158D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E158D | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e158d; /* rgb */ color: rgb(30, 21, 141); /* oklch */ color: oklch(32.1% 0.182 272.5);
Tailwind
colors: {
custom: {
50: '#7057b0',
500: '#1e158d',
950: '#000000',
},
}SCSS
$custom: #1e158d; $custom-light: #7057b0; $custom-dark: #000000;
JSON
{
"hex": "#1e158d",
"rgb": {
"r": 30,
"g": 21,
"b": 141
},
"hsl": {
"h": 244.5,
"s": 74.074,
"l": 31.765
},
"oklch": {
"l": 0.32082,
"c": 0.18214,
"h": 272.5
},
"luminance": 0.02735
}Semantic roles & 50–950 ramp
primary
#1E158D
secondary
#B7C13D
accent
#F137E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880