#173D8D#173D8D
#173D8D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.140 H 262.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #173D8D |
|---|---|
| RGB | rgb(23, 61, 141) |
| HSL | hsl(221, 72%, 32%) |
| HSV | hsv(221, 84%, 55%) |
| CMYK | cmyk(83.7%, 56.7%, 0%, 44.7%) |
| CIE-LAB | lab(27.96, 18.38, -48.11) |
| CIE-LCH | lch(27.96, 51.50, 290.91°) |
| OKLab | oklab(38.54% -0.018 -0.1389) |
| OKLCH | oklch(38.54% 0.14 262.6) |
| XYZ | xyz(6.8281, 5.4419, 25.8847) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.69
Darkish Blue
#014182
ΔE00 3.74
Cobalt
#0047AB
ΔE00 4.84
Twilight Blue
#0A437A
ΔE00 4.95
Sapphire (survey)
#2138AB
ΔE00 5.66
Marine Blue
#01386A
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173D8D #8D6717
analogous
#17788D #173D8D #2C178D
triadic
#173D8D #8D173D #3D8D17
tetradic
#173D8D #8D1778 #8D6717 #178D2C
square
#173D8D #8D1778 #8D6717 #178D2C
split-complementary
#173D8D #8D2C17 #788D17
monochromatic
#060F24 #0E2658 #173D8D #2054C2 #3F73E0
Accessibility & contrast
On white
10.05
#173D8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#173D8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173D8D
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173D8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173D8D | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #173d8d; /* rgb */ color: rgb(23, 61, 141); /* oklch */ color: oklch(38.5% 0.140 262.6);
Tailwind
colors: {
custom: {
50: '#6a71af',
500: '#173d8d',
950: '#000000',
},
}SCSS
$custom: #173d8d; $custom-light: #6a71af; $custom-dark: #000000;
JSON
{
"hex": "#173d8d",
"rgb": {
"r": 23,
"g": 61,
"b": 141
},
"hsl": {
"h": 220.678,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.38542,
"c": 0.14004,
"h": 262.6
},
"luminance": 0.05443
}Semantic roles & 50–950 ramp
primary
#173D8D
secondary
#C09740
accent
#B439EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F