#173A8F#173A8F
#173A8F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.147 H 263.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #173A8F |
|---|---|
| RGB | rgb(23, 58, 143) |
| HSL | hsl(223, 72%, 33%) |
| HSV | hsv(223, 84%, 56%) |
| CMYK | cmyk(83.9%, 59.4%, 0%, 43.9%) |
| CIE-LAB | lab(27.27, 21.28, -50.46) |
| CIE-LCH | lch(27.27, 54.76, 292.87°) |
| OKLab | oklab(38.08% -0.0158 -0.1458) |
| OKLCH | oklch(38.08% 0.147 263.8) |
| XYZ | xyz(6.8226, 5.1906, 26.6236) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 4.83
Darkish Blue
#014182
ΔE00 4.84
Cobalt
#0047AB
ΔE00 5.35
Twilight Blue
#0A437A
ΔE00 6.03
Marine Blue
#01386A
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173A8F #8F6C17
analogous
#17768F #173A8F #30178F
triadic
#173A8F #8F173A #3A8F17
tetradic
#173A8F #8F1776 #8F6C17 #178F30
square
#173A8F #8F1776 #8F6C17 #178F30
split-complementary
#173A8F #8F3017 #768F17
monochromatic
#060F26 #0F255A #173A8F #1F4FC4 #406FE0
Accessibility & contrast
On white
10.30
#173A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#173A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173A8F
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173A8F | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #173a8f; /* rgb */ color: rgb(23, 58, 143); /* oklch */ color: oklch(38.1% 0.147 263.8);
Tailwind
colors: {
custom: {
50: '#6b6fb1',
500: '#173a8f',
950: '#000000',
},
}SCSS
$custom: #173a8f; $custom-light: #6b6fb1; $custom-dark: #000000;
JSON
{
"hex": "#173a8f",
"rgb": {
"r": 23,
"g": 58,
"b": 143
},
"hsl": {
"h": 222.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.38076,
"c": 0.14671,
"h": 263.8
},
"luminance": 0.05191
}Semantic roles & 50–950 ramp
primary
#173A8F
secondary
#C19B41
accent
#BA39EF
background
#F6F6FB
surface
#ECECF6
border
#C7C7D0
text
#080711
muted
#7A7A80