#1D168F#1D168F
#1D168F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.184 H 271.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1D168F |
|---|---|
| RGB | rgb(29, 22, 143) |
| HSL | hsl(243, 73%, 32%) |
| HSV | hsv(243, 85%, 56%) |
| CMYK | cmyk(79.7%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(19.30, 44.13, -63.57) |
| CIE-LCH | lch(19.30, 77.39, 304.77°) |
| OKLab | oklab(32.38% 0.0059 -0.1839) |
| OKLCH | oklch(32.38% 0.184 271.8) |
| XYZ | xyz(5.7499, 2.8176, 26.2221) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.12
Cobalt Blue
#030AA7
ΔE00 3.48
Darkblue
#00008B
ΔE00 3.57
Royal Blue (survey)
#0504AA
ΔE00 4.00
Navy
#000080
ΔE00 4.39
Indigo (survey)
#380282
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D168F #888F16
analogous
#164C8F #1D168F #59168F
triadic
#1D168F #8F1D16 #168F1D
tetradic
#1D168F #8F164C #888F16 #168F59
square
#1D168F #8F164C #888F16 #168F59
split-complementary
#1D168F #8F5916 #4C8F16
monochromatic
#070625 #120E5A #1D168F #281EC4 #483EE1
Accessibility & contrast
On white
13.43
#1D168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1D168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D168F
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D168F | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1d168f; /* rgb */ color: rgb(29, 22, 143); /* oklch */ color: oklch(32.4% 0.184 271.8);
Tailwind
colors: {
custom: {
50: '#7057b1',
500: '#1d168f',
950: '#000000',
},
}SCSS
$custom: #1d168f; $custom-light: #7057b1; $custom-dark: #000000;
JSON
{
"hex": "#1d168f",
"rgb": {
"r": 29,
"g": 22,
"b": 143
},
"hsl": {
"h": 243.471,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.32379,
"c": 0.18403,
"h": 271.8
},
"luminance": 0.02818
}Semantic roles & 50–950 ramp
primary
#1D168F
secondary
#BAC13F
accent
#F038E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880