#1D166C#1D166C
#1D166C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.140 H 276.1°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1D166C |
|---|---|
| RGB | rgb(29, 22, 108) |
| HSL | hsl(245, 66%, 25%) |
| HSV | hsv(245, 80%, 42%) |
| CMYK | cmyk(73.1%, 79.6%, 0%, 57.6%) |
| CIE-LAB | lab(15.05, 32.51, -48.30) |
| CIE-LCH | lch(15.05, 58.22, 303.95°) |
| OKLab | oklab(28.18% 0.0149 -0.1396) |
| OKLCH | oklch(28.18% 0.14 276.1) |
| XYZ | xyz(3.4995, 1.9174, 14.3701) |
| Luminance | 0.0192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.14
Darkblue (survey)
#030764
ΔE00 3.65
Dark Royal Blue
#02066F
ΔE00 3.73
Deep Blue
#040273
ΔE00 4.43
Dark Indigo
#1F0954
ΔE00 4.84
Dark Blue
#00035B
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D166C #656C16
analogous
#163A6C #1D166C #48166C
triadic
#1D166C #6C1D16 #166C1D
tetradic
#1D166C #6C163A #656C16 #166C48
square
#1D166C #6C163A #656C16 #166C48
split-complementary
#1D166C #6C4816 #3A6C16
monochromatic
#070519 #0F0C39 #1D166C #2B209F #382BD2
Accessibility & contrast
On white
15.18
#1D166C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#1D166C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D166C
15.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D166C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D166C | 1.00 | 15.18 | 1.38 | 15.18 |
| #FFFFFF | 15.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #1d166c; /* rgb */ color: rgb(29, 22, 108); /* oklch */ color: oklch(28.2% 0.140 276.1);
Tailwind
colors: {
custom: {
50: '#675597',
500: '#1d166c',
950: '#000000',
},
}SCSS
$custom: #1d166c; $custom-light: #675597; $custom-dark: #000000;
JSON
{
"hex": "#1d166c",
"rgb": {
"r": 29,
"g": 22,
"b": 108
},
"hsl": {
"h": 244.884,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.28178,
"c": 0.1404,
"h": 276.1
},
"luminance": 0.01918
}Semantic roles & 50–950 ramp
primary
#1D166C
secondary
#9AA23C
accent
#E93FDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E