#173E94#173E94
#173E94 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.149 H 263.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #173E94 |
|---|---|
| RGB | rgb(23, 62, 148) |
| HSL | hsl(221, 73%, 34%) |
| HSV | hsv(221, 84%, 58%) |
| CMYK | cmyk(84.5%, 58.1%, 0%, 42%) |
| CIE-LAB | lab(28.81, 20.54, -51.02) |
| CIE-LCH | lch(28.81, 55.00, 291.93°) |
| OKLab | oklab(39.36% -0.0181 -0.1474) |
| OKLCH | oklch(39.36% 0.149 263) |
| XYZ | xyz(7.4194, 5.7646, 28.7329) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.68
Cobalt
#0047AB
ΔE00 4.03
Darkish Blue
#014182
ΔE00 4.31
Sapphire (survey)
#2138AB
ΔE00 4.84
Twilight Blue
#0A437A
ΔE00 5.50
Blueberry
#464196
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173E94 #946D17
analogous
#177C94 #173E94 #2E1794
triadic
#173E94 #94173E #3E9417
tetradic
#173E94 #94177C #946D17 #17942E
square
#173E94 #94177C #946D17 #17942E
split-complementary
#173E94 #942E17 #7C9417
monochromatic
#07122A #0F285F #173E94 #1F54C9 #4475E2
Accessibility & contrast
On white
9.75
#173E94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#173E94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173E94
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173E94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173E94 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #173e94; /* rgb */ color: rgb(23, 62, 148); /* oklch */ color: oklch(39.4% 0.149 263.0);
Tailwind
colors: {
custom: {
50: '#6c72b4',
500: '#173e94',
950: '#000000',
},
}SCSS
$custom: #173e94; $custom-light: #6c72b4; $custom-dark: #000000;
JSON
{
"hex": "#173e94",
"rgb": {
"r": 23,
"g": 62,
"b": 148
},
"hsl": {
"h": 221.28,
"s": 73.099,
"l": 33.529
},
"oklch": {
"l": 0.39363,
"c": 0.14855,
"h": 263
},
"luminance": 0.05766
}Semantic roles & 50–950 ramp
primary
#173E94
secondary
#C39B44
accent
#B638F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80