#171D7C#171D7C
#171D7C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.156 H 270.2°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).
Color values
| HEX | #171D7C |
|---|---|
| RGB | rgb(23, 29, 124) |
| HSL | hsl(236, 69%, 29%) |
| HSV | hsv(236, 81%, 49%) |
| CMYK | cmyk(81.5%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(17.99, 33.43, -53.78) |
| CIE-LCH | lch(17.99, 63.32, 301.87°) |
| OKLab | oklab(30.7% 0.0006 -0.1558) |
| OKLCH | oklch(30.7% 0.156 270.2) |
| XYZ | xyz(4.4296, 2.5156, 19.3170) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.04
Royal
#0C1793
ΔE00 3.80
Dark Royal Blue
#02066F
ΔE00 5.13
Deep Blue
#040273
ΔE00 5.59
Navy
#000080
ΔE00 5.63
Darkblue
#00008B
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171D7C #7C7617
analogous
#17507C #171D7C #44177C
triadic
#171D7C #7C171D #1D7C17
tetradic
#171D7C #7C1750 #7C7617 #177C44
square
#171D7C #7C1750 #7C7617 #177C44
split-complementary
#171D7C #7C4417 #507C17
monochromatic
#05061A #0D1148 #171D7C #2129B0 #343ED9
Accessibility & contrast
On white
13.97
#171D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#171D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171D7C
13.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171D7C | 1.00 | 13.97 | 1.50 | 13.97 |
| #FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #171d7c; /* rgb */ color: rgb(23, 29, 124); /* oklch */ color: oklch(30.7% 0.156 270.2);
Tailwind
colors: {
custom: {
50: '#685aa3',
500: '#171d7c',
950: '#000000',
},
}SCSS
$custom: #171d7c; $custom-light: #685aa3; $custom-dark: #000000;
JSON
{
"hex": "#171d7c",
"rgb": {
"r": 23,
"g": 29,
"b": 124
},
"hsl": {
"h": 236.436,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.30702,
"c": 0.15576,
"h": 270.2
},
"luminance": 0.02516
}Semantic roles & 50–950 ramp
primary
#171D7C
secondary
#B1AA3E
accent
#E13CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F