#1E168D#1E168D
#1E168D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.181 H 272.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1E168D |
|---|---|
| RGB | rgb(30, 22, 141) |
| HSL | hsl(244, 73%, 32%) |
| HSV | hsv(244, 84%, 55%) |
| CMYK | cmyk(78.7%, 84.4%, 0%, 44.7%) |
| CIE-LAB | lab(19.11, 43.56, -62.64) |
| CIE-LCH | lch(19.11, 76.30, 304.82°) |
| OKLab | oklab(32.19% 0.0077 -0.1812) |
| OKLCH | oklch(32.19% 0.181 272.4) |
| XYZ | xyz(5.6284, 2.7723, 25.4326) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.32
Darkblue
#00008B
ΔE00 3.55
Cobalt Blue
#030AA7
ΔE00 3.74
Royal Blue (survey)
#0504AA
ΔE00 4.25
Navy
#000080
ΔE00 4.28
Indigo (survey)
#380282
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E168D #858D16
analogous
#16498D #1E168D #5A168D
triadic
#1E168D #8D1E16 #168D1E
tetradic
#1E168D #8D1649 #858D16 #168D5A
square
#1E168D #8D1649 #858D16 #168D5A
split-complementary
#1E168D #8D5A16 #498D16
monochromatic
#070523 #130E58 #1E168D #291EC2 #483DE1
Accessibility & contrast
On white
13.51
#1E168D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1E168D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E168D
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E168D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E168D | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 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: #1e168d; /* rgb */ color: rgb(30, 22, 141); /* oklch */ color: oklch(32.2% 0.181 272.4);
Tailwind
colors: {
custom: {
50: '#7057b0',
500: '#1e168d',
950: '#000000',
},
}SCSS
$custom: #1e168d; $custom-light: #7057b0; $custom-dark: #000000;
JSON
{
"hex": "#1e168d",
"rgb": {
"r": 30,
"g": 22,
"b": 141
},
"hsl": {
"h": 244.034,
"s": 73.006,
"l": 31.961
},
"oklch": {
"l": 0.32192,
"c": 0.18138,
"h": 272.4
},
"luminance": 0.02773
}Semantic roles & 50–950 ramp
primary
#1E168D
secondary
#B8C13E
accent
#F038E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880