#173F89#173F89
#173F89 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.132 H 261.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #173F89 |
|---|---|
| RGB | rgb(23, 63, 137) |
| HSL | hsl(219, 71%, 31%) |
| HSV | hsv(219, 83%, 54%) |
| CMYK | cmyk(83.2%, 54%, 0%, 46.3%) |
| CIE-LAB | lab(28.23, 15.34, -45.20) |
| CIE-LCH | lch(28.23, 47.73, 288.75°) |
| OKLab | oklab(38.65% -0.0198 -0.1303) |
| OKLCH | oklch(38.65% 0.132 261.4) |
| XYZ | xyz(6.6446, 5.5425, 24.3817) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.75
Cobalt (survey)
#1E488F
ΔE00 2.93
Twilight Blue
#0A437A
ΔE00 3.93
Cobalt
#0047AB
ΔE00 4.91
Marine Blue
#01386A
ΔE00 5.11
Prussian Blue
#004577
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173F89 #896117
analogous
#177889 #173F89 #281789
triadic
#173F89 #89173F #3F8917
tetradic
#173F89 #891778 #896117 #178928
square
#173F89 #891778 #896117 #178928
split-complementary
#173F89 #892817 #788917
monochromatic
#050F20 #0E2755 #173F89 #2057BD #3C75DE
Accessibility & contrast
On white
9.96
#173F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#173F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173F89
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173F89 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08488C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #173f89; /* rgb */ color: rgb(23, 63, 137); /* oklch */ color: oklch(38.6% 0.132 261.4);
Tailwind
colors: {
custom: {
50: '#6973ac',
500: '#173f89',
950: '#000000',
},
}SCSS
$custom: #173f89; $custom-light: #6973ac; $custom-dark: #000000;
JSON
{
"hex": "#173f89",
"rgb": {
"r": 23,
"g": 63,
"b": 137
},
"hsl": {
"h": 218.947,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.38648,
"c": 0.13179,
"h": 261.4
},
"luminance": 0.05543
}Semantic roles & 50–950 ramp
primary
#173F89
secondary
#BD913F
accent
#AF3AEE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F