#172D4C#172D4C
#172D4C is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.6% C 0.063 H 257.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #172D4C |
|---|---|
| RGB | rgb(23, 45, 76) |
| HSL | hsl(215, 54%, 19%) |
| HSV | hsv(215, 70%, 30%) |
| CMYK | cmyk(69.7%, 40.8%, 0%, 70.2%) |
| CIE-LAB | lab(18.28, 2.82, -21.77) |
| CIE-LCH | lch(18.28, 21.95, 277.38°) |
| OKLab | oklab(29.62% -0.014 -0.0618) |
| OKLCH | oklch(29.62% 0.063 257.2) |
| XYZ | xyz(2.5958, 2.5805, 7.1974) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.35
Marine
#042E60
ΔE00 4.20
Marine Blue
#01386A
ΔE00 6.09
Dark
#1B2431
ΔE00 7.66
Navy (survey)
#01153E
ΔE00 8.24
Dark Blue Grey
#1F3B4D
ΔE00 8.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172D4C #4C3617
analogous
#17484C #172D4C #1C174C
triadic
#172D4C #4C172D #2D4C17
tetradic
#172D4C #4C1748 #4C3617 #174C1C
square
#172D4C #4C1748 #4C3617 #174C1C
split-complementary
#172D4C #4C1C17 #484C17
monochromatic
#070E17 #09111D #172D4C #25497B #3365AA
Accessibility & contrast
On white
13.85
#172D4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#172D4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172D4C
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172D4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172D4C | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202F4D
Deuteranopia (green-blind)
#182A4B
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #172d4c; /* rgb */ color: rgb(23, 45, 76); /* oklch */ color: oklch(29.6% 0.063 257.2);
Tailwind
colors: {
custom: {
50: '#5a657e',
500: '#172d4c',
950: '#000000',
},
}SCSS
$custom: #172d4c; $custom-light: #5a657e; $custom-dark: #000000;
JSON
{
"hex": "#172d4c",
"rgb": {
"r": 23,
"g": 45,
"b": 76
},
"hsl": {
"h": 215.094,
"s": 53.535,
"l": 19.412
},
"oklch": {
"l": 0.29619,
"c": 0.06334,
"h": 257.2
},
"luminance": 0.02581
}Semantic roles & 50–950 ramp
primary
#172D4C
secondary
#83653C
accent
#A04BDD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C