#172F6C#172F6C
#172F6C is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.111 H 264.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).
Color values
| HEX | #172F6C |
|---|---|
| RGB | rgb(23, 47, 108) |
| HSL | hsl(223, 65%, 26%) |
| HSV | hsv(223, 79%, 42%) |
| CMYK | cmyk(78.7%, 56.5%, 0%, 57.6%) |
| CIE-LAB | lab(21.20, 14.67, -38.25) |
| CIE-LCH | lch(21.20, 40.96, 290.99°) |
| OKLab | oklab(32.59% -0.0102 -0.1102) |
| OKLCH | oklch(32.59% 0.111 264.7) |
| XYZ | xyz(4.0757, 3.2975, 14.6061) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.15
Marine Blue
#01386A
ΔE00 5.22
Navy Blue
#1B2A4A
ΔE00 6.50
Darkish Blue
#014182
ΔE00 7.19
Twilight Blue
#0A437A
ΔE00 7.80
Midnight Blue
#191970
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F6C #6C5417
analogous
#17596C #172F6C #29176C
triadic
#172F6C #6C172F #2F6C17
tetradic
#172F6C #6C1759 #6C5417 #176C29
square
#172F6C #6C1759 #6C5417 #176C29
split-complementary
#172F6C #6C2917 #596C17
monochromatic
#050B19 #0C193A #172F6C #22459E #2C5BD1
Accessibility & contrast
On white
12.65
#172F6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#172F6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F6C
12.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F6C | 1.00 | 12.65 | 1.66 | 12.65 |
| #FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02376E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #172f6c; /* rgb */ color: rgb(23, 47, 108); /* oklch */ color: oklch(32.6% 0.111 264.7);
Tailwind
colors: {
custom: {
50: '#626797',
500: '#172f6c',
950: '#000000',
},
}SCSS
$custom: #172f6c; $custom-light: #626797; $custom-dark: #000000;
JSON
{
"hex": "#172f6c",
"rgb": {
"r": 23,
"g": 47,
"b": 108
},
"hsl": {
"h": 223.059,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.32592,
"c": 0.11064,
"h": 264.7
},
"luminance": 0.03298
}Semantic roles & 50–950 ramp
primary
#172F6C
secondary
#A2853D
accent
#B840E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E