#1D167F#1D167F
#1D167F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.165 H 273.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1D167F |
|---|---|
| RGB | rgb(29, 22, 127) |
| HSL | hsl(244, 70%, 29%) |
| HSV | hsv(244, 83%, 50%) |
| CMYK | cmyk(77.2%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(17.31, 38.96, -56.81) |
| CIE-LCH | lch(17.31, 68.88, 304.44°) |
| OKLab | oklab(30.42% 0.01 -0.1643) |
| OKLCH | oklch(30.42% 0.165 273.5) |
| XYZ | xyz(4.6231, 2.3669, 20.2878) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.74
Royal
#0C1793
ΔE00 2.98
Navy
#000080
ΔE00 3.91
Darkblue
#00008B
ΔE00 3.98
Dark Royal Blue
#02066F
ΔE00 4.02
Deep Blue
#040273
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D167F #787F16
analogous
#16447F #1D167F #52167F
triadic
#1D167F #7F1D16 #167F1D
tetradic
#1D167F #7F1644 #787F16 #167F52
square
#1D167F #7F1644 #787F16 #167F52
split-complementary
#1D167F #7F5216 #447F16
monochromatic
#06051A #110D4B #1D167F #291FB3 #3F34DC
Accessibility & contrast
On white
14.25
#1D167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1D167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D167F
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D167F | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1d167f; /* rgb */ color: rgb(29, 22, 127); /* oklch */ color: oklch(30.4% 0.165 273.5);
Tailwind
colors: {
custom: {
50: '#6c56a5',
500: '#1d167f',
950: '#000000',
},
}SCSS
$custom: #1d167f; $custom-light: #6c56a5; $custom-dark: #000000;
JSON
{
"hex": "#1d167f",
"rgb": {
"r": 29,
"g": 22,
"b": 127
},
"hsl": {
"h": 244,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.30422,
"c": 0.16465,
"h": 273.5
},
"luminance": 0.02367
}Semantic roles & 50–950 ramp
primary
#1D167F
secondary
#ACB43D
accent
#ED3BE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F