#173A7F#173A7F
#173A7F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.7% C 0.124 H 262.0°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #173A7F |
|---|---|
| RGB | rgb(23, 58, 127) |
| HSL | hsl(220, 69%, 29%) |
| HSV | hsv(220, 82%, 50%) |
| CMYK | cmyk(81.9%, 54.3%, 0%, 50.2%) |
| CIE-LAB | lab(25.98, 14.71, -42.60) |
| CIE-LCH | lch(25.98, 45.07, 289.05°) |
| OKLab | oklab(36.69% -0.0172 -0.1228) |
| OKLCH | oklch(36.69% 0.124 262) |
| XYZ | xyz(5.6958, 4.7399, 20.6893) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 3.58
Marine Blue
#01386A
ΔE00 4.17
Twilight Blue
#0A437A
ΔE00 4.58
Cobalt (survey)
#1E488F
ΔE00 4.73
Marine
#042E60
ΔE00 5.40
Prussian Blue
#004577
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173A7F #7F5C17
analogous
#176E7F #173A7F #28177F
triadic
#173A7F #7F173A #3A7F17
tetradic
#173A7F #7F176E #7F5C17 #177F28
square
#173A7F #7F176E #7F5C17 #177F28
split-complementary
#173A7F #7F2817 #6E7F17
monochromatic
#050C1A #0E224B #173A7F #2052B3 #366DDB
Accessibility & contrast
On white
10.78
#173A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#173A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173A7F
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173A7F | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084381
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #173a7f; /* rgb */ color: rgb(23, 58, 127); /* oklch */ color: oklch(36.7% 0.124 262.0);
Tailwind
colors: {
custom: {
50: '#666fa5',
500: '#173a7f',
950: '#000000',
},
}SCSS
$custom: #173a7f; $custom-light: #666fa5; $custom-dark: #000000;
JSON
{
"hex": "#173a7f",
"rgb": {
"r": 23,
"g": 58,
"b": 127
},
"hsl": {
"h": 219.808,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.36694,
"c": 0.12395,
"h": 262
},
"luminance": 0.04741
}Semantic roles & 50–950 ramp
primary
#173A7F
secondary
#B48C3E
accent
#B13CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F