#1D166F#1D166F
#1D166F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.144 H 275.6°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1D166F |
|---|---|
| RGB | rgb(29, 22, 111) |
| HSL | hsl(245, 67%, 26%) |
| HSV | hsv(245, 80%, 44%) |
| CMYK | cmyk(73.9%, 80.2%, 0%, 56.5%) |
| CIE-LAB | lab(15.39, 33.55, -49.68) |
| CIE-LCH | lch(15.39, 59.95, 304.03°) |
| OKLab | oklab(28.53% 0.0141 -0.1436) |
| OKLCH | oklch(28.53% 0.144 275.6) |
| XYZ | xyz(3.6619, 1.9824, 15.2255) |
| Luminance | 0.0198 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.02
Dark Royal Blue
#02066F
ΔE00 3.58
Darkblue (survey)
#030764
ΔE00 3.74
Deep Blue
#040273
ΔE00 4.21
Navy
#000080
ΔE00 5.03
Dark Blue
#00035B
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D166F #686F16
analogous
#163B6F #1D166F #49166F
triadic
#1D166F #6F1D16 #166F1D
tetradic
#1D166F #6F163B #686F16 #166F49
square
#1D166F #6F163B #686F16 #166F49
split-complementary
#1D166F #6F4916 #3B6F16
monochromatic
#07051A #100C3C #1D166F #2A20A2 #382BD5
Accessibility & contrast
On white
15.04
#1D166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#1D166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D166F
15.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D166F | 1.00 | 15.04 | 1.40 | 15.04 |
| #FFFFFF | 15.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #1d166f; /* rgb */ color: rgb(29, 22, 111); /* oklch */ color: oklch(28.5% 0.144 275.6);
Tailwind
colors: {
custom: {
50: '#675599',
500: '#1d166f',
950: '#000000',
},
}SCSS
$custom: #1d166f; $custom-light: #675599; $custom-dark: #000000;
JSON
{
"hex": "#1d166f",
"rgb": {
"r": 29,
"g": 22,
"b": 111
},
"hsl": {
"h": 244.719,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.28525,
"c": 0.14433,
"h": 275.6
},
"luminance": 0.01983
}Semantic roles & 50–950 ramp
primary
#1D166F
secondary
#9DA53C
accent
#EA3EDC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E