#173A8C#173A8C
#173A8C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.143 H 263.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #173A8C |
|---|---|
| RGB | rgb(23, 58, 140) |
| HSL | hsl(222, 72%, 32%) |
| HSV | hsv(222, 84%, 55%) |
| CMYK | cmyk(83.6%, 58.6%, 0%, 45.1%) |
| CIE-LAB | lab(27.02, 20.06, -49.01) |
| CIE-LCH | lch(27.02, 52.96, 292.26°) |
| OKLab | oklab(37.81% -0.016 -0.1416) |
| OKLCH | oklch(37.81% 0.143 263.6) |
| XYZ | xyz(6.5983, 5.1009, 25.4427) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 4.72
Sapphire (survey)
#2138AB
ΔE00 5.29
Cobalt
#0047AB
ΔE00 5.57
Twilight Blue
#0A437A
ΔE00 5.73
Marine Blue
#01386A
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173A8C #8C6917
analogous
#17758C #173A8C #2E178C
triadic
#173A8C #8C173A #3A8C17
tetradic
#173A8C #8C1775 #8C6917 #178C2E
square
#173A8C #8C1775 #8C6917 #178C2E
split-complementary
#173A8C #8C2E17 #758C17
monochromatic
#060E23 #0E2457 #173A8C #2050C1 #3E6EDF
Accessibility & contrast
On white
10.39
#173A8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#173A8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173A8C
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173A8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173A8C | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #173a8c; /* rgb */ color: rgb(23, 58, 140); /* oklch */ color: oklch(37.8% 0.143 263.6);
Tailwind
colors: {
custom: {
50: '#6a6fae',
500: '#173a8c',
950: '#000000',
},
}SCSS
$custom: #173a8c; $custom-light: #6a6fae; $custom-dark: #000000;
JSON
{
"hex": "#173a8c",
"rgb": {
"r": 23,
"g": 58,
"b": 140
},
"hsl": {
"h": 222.051,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.37809,
"c": 0.14251,
"h": 263.6
},
"luminance": 0.05102
}Semantic roles & 50–950 ramp
primary
#173A8C
secondary
#BF993F
accent
#B839EF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F