#173C8F#173C8F
#173C8F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.144 H 263.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #173C8F |
|---|---|
| RGB | rgb(23, 60, 143) |
| HSL | hsl(222, 72%, 33%) |
| HSV | hsv(222, 84%, 56%) |
| CMYK | cmyk(83.9%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(27.84, 19.89, -49.54) |
| CIE-LCH | lch(27.84, 53.38, 291.88°) |
| OKLab | oklab(38.5% -0.0171 -0.1431) |
| OKLCH | oklch(38.5% 0.144 263.2) |
| XYZ | xyz(6.9254, 5.3962, 26.6578) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.12
Darkish Blue
#014182
ΔE00 4.25
Cobalt
#0047AB
ΔE00 4.88
Sapphire (survey)
#2138AB
ΔE00 5.16
Twilight Blue
#0A437A
ΔE00 5.45
Marine Blue
#01386A
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173C8F #8F6A17
analogous
#17788F #173C8F #2E178F
triadic
#173C8F #8F173C #3C8F17
tetradic
#173C8F #8F1778 #8F6A17 #178F2E
square
#173C8F #8F1778 #8F6A17 #178F2E
split-complementary
#173C8F #8F2E17 #788F17
monochromatic
#061026 #0F265A #173C8F #1F52C4 #4071E0
Accessibility & contrast
On white
10.10
#173C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#173C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173C8F
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173C8F | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #173c8f; /* rgb */ color: rgb(23, 60, 143); /* oklch */ color: oklch(38.5% 0.144 263.2);
Tailwind
colors: {
custom: {
50: '#6a71b0',
500: '#173c8f',
950: '#000000',
},
}SCSS
$custom: #173c8f; $custom-light: #6a71b0; $custom-dark: #000000;
JSON
{
"hex": "#173c8f",
"rgb": {
"r": 23,
"g": 60,
"b": 143
},
"hsl": {
"h": 221.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.385,
"c": 0.14414,
"h": 263.2
},
"luminance": 0.05397
}Semantic roles & 50–950 ramp
primary
#173C8F
secondary
#C19941
accent
#B739EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080711
muted
#7A7A80