#172F76#172F76
#172F76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.125 H 265.7°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #172F76 |
|---|---|
| RGB | rgb(23, 47, 118) |
| HSL | hsl(225, 67%, 28%) |
| HSV | hsv(225, 81%, 46%) |
| CMYK | cmyk(80.5%, 60.2%, 0%, 53.7%) |
| CIE-LAB | lab(22.03, 18.82, -43.33) |
| CIE-LCH | lch(22.03, 47.23, 293.47°) |
| OKLab | oklab(33.48% -0.0095 -0.1251) |
| OKLCH | oklch(33.48% 0.125 265.7) |
| XYZ | xyz(4.6387, 3.5227, 17.5715) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.57
Marine Blue
#01386A
ΔE00 5.96
Midnight Blue
#191970
ΔE00 7.11
Darkish Blue
#014182
ΔE00 7.17
Twilight Blue
#0A437A
ΔE00 8.02
Navy Blue
#1B2A4A
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F76 #765E17
analogous
#175F76 #172F76 #2E1776
triadic
#172F76 #76172F #2F7617
tetradic
#172F76 #76175F #765E17 #17762E
square
#172F76 #76175F #765E17 #17762E
split-complementary
#172F76 #762E17 #5F7617
monochromatic
#050A1A #0D1B43 #172F76 #2143A9 #315BD7
Accessibility & contrast
On white
12.32
#172F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#172F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F76
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F76 | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #172f76; /* rgb */ color: rgb(23, 47, 118); /* oklch */ color: oklch(33.5% 0.125 265.7);
Tailwind
colors: {
custom: {
50: '#65679e',
500: '#172f76',
950: '#000000',
},
}SCSS
$custom: #172f76; $custom-light: #65679e; $custom-dark: #000000;
JSON
{
"hex": "#172f76",
"rgb": {
"r": 23,
"g": 47,
"b": 118
},
"hsl": {
"h": 224.842,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.33477,
"c": 0.12546,
"h": 265.7
},
"luminance": 0.03523
}Semantic roles & 50–950 ramp
primary
#172F76
secondary
#AB903E
accent
#BF3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E