#173D8F#173D8F
#173D8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.143 H 262.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #173D8F |
|---|---|
| RGB | rgb(23, 61, 143) |
| HSL | hsl(221, 72%, 33%) |
| HSV | hsv(221, 84%, 56%) |
| CMYK | cmyk(83.9%, 57.3%, 0%, 43.9%) |
| CIE-LAB | lab(28.12, 19.19, -49.08) |
| CIE-LCH | lch(28.12, 52.70, 291.36°) |
| OKLab | oklab(38.71% -0.0178 -0.1417) |
| OKLCH | oklch(38.71% 0.143 262.8) |
| XYZ | xyz(6.9782, 5.5020, 26.6755) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.76
Darkish Blue
#014182
ΔE00 3.96
Cobalt
#0047AB
ΔE00 4.66
Twilight Blue
#0A437A
ΔE00 5.18
Sapphire (survey)
#2138AB
ΔE00 5.36
Marine Blue
#01386A
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173D8F #8F6917
analogous
#17798F #173D8F #2D178F
triadic
#173D8F #8F173D #3D8F17
tetradic
#173D8F #8F1779 #8F6917 #178F2D
square
#173D8F #8F1779 #8F6917 #178F2D
split-complementary
#173D8F #8F2D17 #798F17
monochromatic
#061026 #0F275A #173D8F #1F53C4 #4073E0
Accessibility & contrast
On white
10.00
#173D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#173D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173D8F
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173D8F | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #173d8f; /* rgb */ color: rgb(23, 61, 143); /* oklch */ color: oklch(38.7% 0.143 262.8);
Tailwind
colors: {
custom: {
50: '#6a71b0',
500: '#173d8f',
950: '#000000',
},
}SCSS
$custom: #173d8f; $custom-light: #6a71b0; $custom-dark: #000000;
JSON
{
"hex": "#173d8f",
"rgb": {
"r": 23,
"g": 61,
"b": 143
},
"hsl": {
"h": 221,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.38714,
"c": 0.14285,
"h": 262.8
},
"luminance": 0.05503
}Semantic roles & 50–950 ramp
primary
#173D8F
secondary
#C19841
accent
#B539EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080711
muted
#7A7A80