#1D168C#1D168C
#1D168C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.180 H 272.1°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1D168C |
|---|---|
| RGB | rgb(29, 22, 140) |
| HSL | hsl(244, 73%, 32%) |
| HSV | hsv(244, 84%, 55%) |
| CMYK | cmyk(79.3%, 84.3%, 0%, 45.1%) |
| CIE-LAB | lab(18.92, 43.18, -62.33) |
| CIE-LCH | lch(18.92, 75.83, 304.71°) |
| OKLab | oklab(32.01% 0.0067 -0.1803) |
| OKLCH | oklch(32.01% 0.18 272.1) |
| XYZ | xyz(5.5256, 2.7279, 25.0412) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.34
Darkblue
#00008B
ΔE00 3.52
Cobalt Blue
#030AA7
ΔE00 3.86
Navy
#000080
ΔE00 4.20
Royal Blue (survey)
#0504AA
ΔE00 4.38
Midnight Blue
#191970
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D168C #858C16
analogous
#164A8C #1D168C #58168C
triadic
#1D168C #8C1D16 #168C1D
tetradic
#1D168C #8C164A #858C16 #168C58
square
#1D168C #8C164A #858C16 #168C58
split-complementary
#1D168C #8C5816 #4A8C16
monochromatic
#070522 #120E57 #1D168C #281EC1 #463CE0
Accessibility & contrast
On white
13.59
#1D168C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1D168C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D168C
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D168C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D168C | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00288A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1d168c; /* rgb */ color: rgb(29, 22, 140); /* oklch */ color: oklch(32.0% 0.180 272.1);
Tailwind
colors: {
custom: {
50: '#6f57af',
500: '#1d168c',
950: '#000000',
},
}SCSS
$custom: #1d168c; $custom-light: #6f57af; $custom-dark: #000000;
JSON
{
"hex": "#1d168c",
"rgb": {
"r": 29,
"g": 22,
"b": 140
},
"hsl": {
"h": 243.559,
"s": 72.84,
"l": 31.765
},
"oklch": {
"l": 0.32008,
"c": 0.18046,
"h": 272.1
},
"luminance": 0.02728
}Semantic roles & 50–950 ramp
primary
#1D168C
secondary
#B8C03E
accent
#F038E5
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880