#1D176F#1D176F
#1D176F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.143 H 275.4°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1D176F |
|---|---|
| RGB | rgb(29, 23, 111) |
| HSL | hsl(244, 66%, 26%) |
| HSV | hsv(244, 79%, 44%) |
| CMYK | cmyk(73.9%, 79.3%, 0%, 56.5%) |
| CIE-LAB | lab(15.60, 32.97, -49.34) |
| CIE-LCH | lch(15.60, 59.34, 303.75°) |
| OKLab | oklab(28.67% 0.0136 -0.1427) |
| OKLCH | oklch(28.67% 0.143 275.4) |
| XYZ | xyz(3.6814, 2.0214, 15.2320) |
| Luminance | 0.0202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.80
Dark Royal Blue
#02066F
ΔE00 3.80
Darkblue (survey)
#030764
ΔE00 3.93
Deep Blue
#040273
ΔE00 4.44
Navy
#000080
ΔE00 5.24
Dark Blue
#00035B
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D176F #696F17
analogous
#173D6F #1D176F #49176F
triadic
#1D176F #6F1D17 #176F1D
tetradic
#1D176F #6F173D #696F17 #176F49
square
#1D176F #6F173D #696F17 #176F49
split-complementary
#1D176F #6F4917 #3D6F17
monochromatic
#070519 #100C3C #1D176F #2A22A2 #382DD3
Accessibility & contrast
On white
14.95
#1D176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#1D176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D176F
14.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D176F | 1.00 | 14.95 | 1.40 | 14.95 |
| #FFFFFF | 14.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1d176f; /* rgb */ color: rgb(29, 23, 111); /* oklch */ color: oklch(28.7% 0.143 275.4);
Tailwind
colors: {
custom: {
50: '#675699',
500: '#1d176f',
950: '#000000',
},
}SCSS
$custom: #1d176f; $custom-light: #675699; $custom-dark: #000000;
JSON
{
"hex": "#1d176f",
"rgb": {
"r": 29,
"g": 23,
"b": 111
},
"hsl": {
"h": 244.091,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.28669,
"c": 0.1433,
"h": 275.4
},
"luminance": 0.02022
}Semantic roles & 50–950 ramp
primary
#1D176F
secondary
#9EA53D
accent
#E93FDD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E