#173E8F#173E8F
#173E8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.142 H 262.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #173E8F |
|---|---|
| RGB | rgb(23, 62, 143) |
| HSL | hsl(221, 72%, 33%) |
| HSV | hsv(221, 84%, 56%) |
| CMYK | cmyk(83.9%, 56.6%, 0%, 43.9%) |
| CIE-LAB | lab(28.41, 18.50, -48.61) |
| CIE-LCH | lch(28.41, 52.01, 290.83°) |
| OKLab | oklab(38.93% -0.0185 -0.1403) |
| OKLCH | oklch(38.93% 0.142 262.5) |
| XYZ | xyz(7.0321, 5.6097, 26.6934) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.41
Darkish Blue
#014182
ΔE00 3.70
Cobalt
#0047AB
ΔE00 4.46
Twilight Blue
#0A437A
ΔE00 4.91
Sapphire (survey)
#2138AB
ΔE00 5.57
Marine Blue
#01386A
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173E8F #8F6817
analogous
#177A8F #173E8F #2C178F
triadic
#173E8F #8F173E #3E8F17
tetradic
#173E8F #8F177A #8F6817 #178F2C
square
#173E8F #8F177A #8F6817 #178F2C
split-complementary
#173E8F #8F2C17 #7A8F17
monochromatic
#061026 #0F275A #173E8F #1F55C4 #4074E0
Accessibility & contrast
On white
9.90
#173E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#173E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173E8F
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173E8F | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #173e8f; /* rgb */ color: rgb(23, 62, 143); /* oklch */ color: oklch(38.9% 0.142 262.5);
Tailwind
colors: {
custom: {
50: '#6a72b0',
500: '#173e8f',
950: '#000000',
},
}SCSS
$custom: #173e8f; $custom-light: #6a72b0; $custom-dark: #000000;
JSON
{
"hex": "#173e8f",
"rgb": {
"r": 23,
"g": 62,
"b": 143
},
"hsl": {
"h": 220.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.38931,
"c": 0.14156,
"h": 262.5
},
"luminance": 0.05611
}Semantic roles & 50–950 ramp
primary
#173E8F
secondary
#C19741
accent
#B439EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080811
muted
#7A7B80