#173F88#173F88
#173F88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.130 H 261.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #173F88 |
|---|---|
| RGB | rgb(23, 63, 136) |
| HSL | hsl(219, 71%, 31%) |
| HSV | hsv(219, 83%, 53%) |
| CMYK | cmyk(83.1%, 53.7%, 0%, 46.7%) |
| CIE-LAB | lab(28.15, 14.93, -44.70) |
| CIE-LCH | lch(28.15, 47.12, 288.46°) |
| OKLab | oklab(38.57% -0.0199 -0.1288) |
| OKLCH | oklch(38.57% 0.13 261.2) |
| XYZ | xyz(6.5732, 5.5140, 24.0056) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.64
Cobalt (survey)
#1E488F
ΔE00 2.93
Twilight Blue
#0A437A
ΔE00 3.82
Marine Blue
#01386A
ΔE00 4.98
Cobalt
#0047AB
ΔE00 5.02
Prussian Blue
#004577
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173F88 #886017
analogous
#177788 #173F88 #271788
triadic
#173F88 #88173F #3F8817
tetradic
#173F88 #881777 #886017 #178827
square
#173F88 #881777 #886017 #178827
split-complementary
#173F88 #882717 #778817
monochromatic
#050F1F #0E2754 #173F88 #2057BC #3B75DE
Accessibility & contrast
On white
9.99
#173F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#173F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173F88
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173F88 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A488B
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #173f88; /* rgb */ color: rgb(23, 63, 136); /* oklch */ color: oklch(38.6% 0.130 261.2);
Tailwind
colors: {
custom: {
50: '#6873ab',
500: '#173f88',
950: '#000000',
},
}SCSS
$custom: #173f88; $custom-light: #6873ab; $custom-dark: #000000;
JSON
{
"hex": "#173f88",
"rgb": {
"r": 23,
"g": 63,
"b": 136
},
"hsl": {
"h": 218.761,
"s": 71.069,
"l": 31.176
},
"oklch": {
"l": 0.38565,
"c": 0.13036,
"h": 261.2
},
"luminance": 0.05515
}Semantic roles & 50–950 ramp
primary
#173F88
secondary
#BC903F
accent
#AE3AEE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F