#173F9E#173F9E
#173F9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.161 H 263.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #173F9E |
|---|---|
| RGB | rgb(23, 63, 158) |
| HSL | hsl(222, 75%, 35%) |
| HSV | hsv(222, 85%, 62%) |
| CMYK | cmyk(85.4%, 60.1%, 0%, 38%) |
| CIE-LAB | lab(29.92, 23.88, -55.30) |
| CIE-LCH | lch(29.92, 60.24, 293.36°) |
| OKLab | oklab(40.46% -0.0182 -0.16) |
| OKLCH | oklch(40.46% 0.161 263.5) |
| XYZ | xyz(8.3002, 6.2048, 33.1013) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.21
Sapphire (survey)
#2138AB
ΔE00 3.76
Cobalt (survey)
#1E488F
ΔE00 4.21
Darkish Blue
#014182
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 6.02
Blueberry
#464196
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173F9E #9E7617
analogous
#17829E #173F9E #32179E
triadic
#173F9E #9E173F #3F9E17
tetradic
#173F9E #9E1782 #9E7617 #179E32
square
#173F9E #9E1782 #9E7617 #179E32
split-complementary
#173F9E #9E3217 #829E17
monochromatic
#071433 #0F2A69 #173F9E #1F54D3 #4B78E5
Accessibility & contrast
On white
9.37
#173F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#173F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173F9E
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173F9E | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #173f9e; /* rgb */ color: rgb(23, 63, 158); /* oklch */ color: oklch(40.5% 0.161 263.5);
Tailwind
colors: {
custom: {
50: '#6e73bb',
500: '#173f9e',
950: '#000000',
},
}SCSS
$custom: #173f9e; $custom-light: #6e73bb; $custom-dark: #000000;
JSON
{
"hex": "#173f9e",
"rgb": {
"r": 23,
"g": 63,
"b": 158
},
"hsl": {
"h": 222.222,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.4046,
"c": 0.16101,
"h": 263.5
},
"luminance": 0.06206
}Semantic roles & 50–950 ramp
primary
#173F9E
secondary
#C6A24A
accent
#BA37F1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81