#173F94#173F94
#173F94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.147 H 262.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #173F94 |
|---|---|
| RGB | rgb(23, 63, 148) |
| HSL | hsl(221, 73%, 34%) |
| HSV | hsv(221, 84%, 58%) |
| CMYK | cmyk(84.5%, 57.4%, 0%, 42%) |
| CIE-LAB | lab(29.09, 19.84, -50.56) |
| CIE-LCH | lch(29.09, 54.32, 291.43°) |
| OKLab | oklab(39.58% -0.0188 -0.1461) |
| OKLCH | oklch(39.58% 0.147 262.7) |
| XYZ | xyz(7.4742, 5.8744, 28.7512) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.33
Cobalt
#0047AB
ΔE00 3.81
Darkish Blue
#014182
ΔE00 4.07
Sapphire (survey)
#2138AB
ΔE00 5.08
Twilight Blue
#0A437A
ΔE00 5.26
Marine Blue
#01386A
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173F94 #946C17
analogous
#177D94 #173F94 #2D1794
triadic
#173F94 #94173F #3F9417
tetradic
#173F94 #94177D #946C17 #17942D
square
#173F94 #94177D #946C17 #17942D
split-complementary
#173F94 #942D17 #7D9417
monochromatic
#07122A #0F285F #173F94 #1F56C9 #4476E2
Accessibility & contrast
On white
9.66
#173F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#173F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173F94
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173F94 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #173f94; /* rgb */ color: rgb(23, 63, 148); /* oklch */ color: oklch(39.6% 0.147 262.7);
Tailwind
colors: {
custom: {
50: '#6c73b4',
500: '#173f94',
950: '#000000',
},
}SCSS
$custom: #173f94; $custom-light: #6c73b4; $custom-dark: #000000;
JSON
{
"hex": "#173f94",
"rgb": {
"r": 23,
"g": 63,
"b": 148
},
"hsl": {
"h": 220.8,
"s": 73.099,
"l": 33.529
},
"oklch": {
"l": 0.39577,
"c": 0.14727,
"h": 262.7
},
"luminance": 0.05875
}Semantic roles & 50–950 ramp
primary
#173F94
secondary
#C39A44
accent
#B538F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80