#173A8D#173A8D
#173A8D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.144 H 263.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #173A8D |
|---|---|
| RGB | rgb(23, 58, 141) |
| HSL | hsl(222, 72%, 32%) |
| HSV | hsv(222, 84%, 55%) |
| CMYK | cmyk(83.7%, 58.9%, 0%, 44.7%) |
| CIE-LAB | lab(27.10, 20.47, -49.50) |
| CIE-LCH | lch(27.10, 53.56, 292.47°) |
| OKLab | oklab(37.9% -0.0159 -0.143) |
| OKLCH | oklch(37.9% 0.144 263.6) |
| XYZ | xyz(6.6724, 5.1306, 25.8328) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 4.64
Cobalt (survey)
#1E488F
ΔE00 4.75
Sapphire (survey)
#2138AB
ΔE00 5.14
Cobalt
#0047AB
ΔE00 5.49
Twilight Blue
#0A437A
ΔE00 5.83
Marine Blue
#01386A
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173A8D #8D6A17
analogous
#17758D #173A8D #2F178D
triadic
#173A8D #8D173A #3A8D17
tetradic
#173A8D #8D1775 #8D6A17 #178D2F
square
#173A8D #8D1775 #8D6A17 #178D2F
split-complementary
#173A8D #8D2F17 #758D17
monochromatic
#060F24 #0E2458 #173A8D #2050C2 #3F6EE0
Accessibility & contrast
On white
10.36
#173A8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#173A8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173A8D
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173A8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173A8D | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #173a8d; /* rgb */ color: rgb(23, 58, 141); /* oklch */ color: oklch(37.9% 0.144 263.6);
Tailwind
colors: {
custom: {
50: '#6a6faf',
500: '#173a8d',
950: '#000000',
},
}SCSS
$custom: #173a8d; $custom-light: #6a6faf; $custom-dark: #000000;
JSON
{
"hex": "#173a8d",
"rgb": {
"r": 23,
"g": 58,
"b": 141
},
"hsl": {
"h": 222.203,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.37897,
"c": 0.14392,
"h": 263.6
},
"luminance": 0.05131
}Semantic roles & 50–950 ramp
primary
#173A8D
secondary
#C09A40
accent
#B939EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F