#172F73#172F73
#172F73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.2% C 0.121 H 265.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #172F73 |
|---|---|
| RGB | rgb(23, 47, 115) |
| HSL | hsl(224, 67%, 27%) |
| HSV | hsv(224, 80%, 45%) |
| CMYK | cmyk(80%, 59.1%, 0%, 54.9%) |
| CIE-LAB | lab(21.77, 17.58, -41.82) |
| CIE-LCH | lch(21.77, 45.37, 292.80°) |
| OKLab | oklab(33.21% -0.0096 -0.1207) |
| OKLCH | oklch(33.21% 0.121 265.4) |
| XYZ | xyz(4.4633, 3.4525, 16.6475) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.13
Marine Blue
#01386A
ΔE00 5.71
Darkish Blue
#014182
ΔE00 7.14
Midnight Blue
#191970
ΔE00 7.31
Navy Blue
#1B2A4A
ΔE00 7.59
Twilight Blue
#0A437A
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F73 #735B17
analogous
#175D73 #172F73 #2D1773
triadic
#172F73 #73172F #2F7317
tetradic
#172F73 #73175D #735B17 #17732D
square
#172F73 #73175D #735B17 #17732D
split-complementary
#172F73 #732D17 #5D7317
monochromatic
#050A1A #0D1A40 #172F73 #2144A6 #2F5AD5
Accessibility & contrast
On white
12.42
#172F73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#172F73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F73
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F73 | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #172f73; /* rgb */ color: rgb(23, 47, 115); /* oklch */ color: oklch(33.2% 0.121 265.4);
Tailwind
colors: {
custom: {
50: '#64679c',
500: '#172f73',
950: '#000000',
},
}SCSS
$custom: #172f73; $custom-light: #64679c; $custom-dark: #000000;
JSON
{
"hex": "#172f73",
"rgb": {
"r": 23,
"g": 47,
"b": 115
},
"hsl": {
"h": 224.348,
"s": 66.667,
"l": 27.059
},
"oklch": {
"l": 0.33206,
"c": 0.12106,
"h": 265.4
},
"luminance": 0.03453
}Semantic roles & 50–950 ramp
primary
#172F73
secondary
#A98D3D
accent
#BD3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E