#173F96#173F96
#173F96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.150 H 262.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #173F96 |
|---|---|
| RGB | rgb(23, 63, 150) |
| HSL | hsl(221, 73%, 34%) |
| HSV | hsv(221, 85%, 59%) |
| CMYK | cmyk(84.7%, 58%, 0%, 41.2%) |
| CIE-LAB | lab(29.26, 20.66, -51.52) |
| CIE-LCH | lch(29.26, 55.51, 291.85°) |
| OKLab | oklab(39.75% -0.0186 -0.1489) |
| OKLCH | oklch(39.75% 0.15 262.9) |
| XYZ | xyz(7.6339, 5.9382, 29.5921) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.48
Cobalt
#0047AB
ΔE00 3.65
Darkish Blue
#014182
ΔE00 4.33
Sapphire (survey)
#2138AB
ΔE00 4.80
Twilight Blue
#0A437A
ΔE00 5.51
Blueberry
#464196
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173F96 #966E17
analogous
#177F96 #173F96 #2F1796
triadic
#173F96 #96173F #3F9617
tetradic
#173F96 #96177F #966E17 #17962F
square
#173F96 #96177F #966E17 #17962F
split-complementary
#173F96 #962F17 #7F9617
monochromatic
#07122C #0F2961 #173F96 #1F55CB #4577E2
Accessibility & contrast
On white
9.60
#173F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#173F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173F96
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173F96 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #173f96; /* rgb */ color: rgb(23, 63, 150); /* oklch */ color: oklch(39.8% 0.150 262.9);
Tailwind
colors: {
custom: {
50: '#6c73b6',
500: '#173f96',
950: '#000000',
},
}SCSS
$custom: #173f96; $custom-light: #6c73b6; $custom-dark: #000000;
JSON
{
"hex": "#173f96",
"rgb": {
"r": 23,
"g": 63,
"b": 150
},
"hsl": {
"h": 221.102,
"s": 73.41,
"l": 33.922
},
"oklch": {
"l": 0.3975,
"c": 0.15004,
"h": 262.9
},
"luminance": 0.05939
}Semantic roles & 50–950 ramp
primary
#173F96
secondary
#C39C45
accent
#B638F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80