#1D167C#1D167C
#1D167C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.161 H 273.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1D167C |
|---|---|
| RGB | rgb(29, 22, 124) |
| HSL | hsl(244, 70%, 29%) |
| HSV | hsv(244, 82%, 49%) |
| CMYK | cmyk(76.6%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(16.94, 37.96, -55.50) |
| CIE-LCH | lch(16.94, 67.24, 304.37°) |
| OKLab | oklab(30.06% 0.0108 -0.1605) |
| OKLCH | oklch(30.06% 0.161 273.9) |
| XYZ | xyz(4.4305, 2.2898, 19.2734) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.32
Royal
#0C1793
ΔE00 3.42
Dark Royal Blue
#02066F
ΔE00 3.80
Navy
#000080
ΔE00 4.00
Deep Blue
#040273
ΔE00 4.04
Darkblue
#00008B
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D167C #757C16
analogous
#16427C #1D167C #50167C
triadic
#1D167C #7C1D16 #167C1D
tetradic
#1D167C #7C1642 #757C16 #167C50
square
#1D167C #7C1642 #757C16 #167C50
split-complementary
#1D167C #7C5016 #427C16
monochromatic
#06051A #110D48 #1D167C #291FB0 #3D32DB
Accessibility & contrast
On white
14.40
#1D167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1D167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D167C
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D167C | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1d167c; /* rgb */ color: rgb(29, 22, 124); /* oklch */ color: oklch(30.1% 0.161 273.9);
Tailwind
colors: {
custom: {
50: '#6b56a3',
500: '#1d167c',
950: '#000000',
},
}SCSS
$custom: #1d167c; $custom-light: #6b56a3; $custom-dark: #000000;
JSON
{
"hex": "#1d167c",
"rgb": {
"r": 29,
"g": 22,
"b": 124
},
"hsl": {
"h": 244.118,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.30061,
"c": 0.16091,
"h": 273.9
},
"luminance": 0.0229
}Semantic roles & 50–950 ramp
primary
#1D167C
secondary
#A9B13D
accent
#ED3BE0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F