#172E63#172E63
#172E63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.098 H 264.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #172E63 |
|---|---|
| RGB | rgb(23, 46, 99) |
| HSL | hsl(222, 62%, 24%) |
| HSV | hsv(222, 77%, 39%) |
| CMYK | cmyk(76.8%, 53.5%, 0%, 61.2%) |
| CIE-LAB | lab(20.19, 11.64, -34.02) |
| CIE-LCH | lch(20.19, 35.96, 288.89°) |
| OKLab | oklab(31.6% -0.0103 -0.0977) |
| OKLCH | oklch(31.6% 0.098 264) |
| XYZ | xyz(3.5817, 3.0366, 12.1993) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.42
Navy Blue
#1B2A4A
ΔE00 5.08
Marine Blue
#01386A
ΔE00 5.19
Darkish Blue
#014182
ΔE00 7.79
Twilight Blue
#0A437A
ΔE00 8.16
Navy (survey)
#01153E
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E63 #634C17
analogous
#175463 #172E63 #261763
triadic
#172E63 #63172E #2E6317
tetradic
#172E63 #631754 #634C17 #176326
square
#172E63 #631754 #634C17 #176326
split-complementary
#172E63 #632617 #546317
monochromatic
#060C19 #0B1731 #172E63 #234595 #2E5CC6
Accessibility & contrast
On white
13.06
#172E63 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#172E63 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E63
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E63 | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E3465
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #172e63; /* rgb */ color: rgb(23, 46, 99); /* oklch */ color: oklch(31.6% 0.098 264.0);
Tailwind
colors: {
custom: {
50: '#606690',
500: '#172e63',
950: '#000000',
},
}SCSS
$custom: #172e63; $custom-light: #606690; $custom-dark: #000000;
JSON
{
"hex": "#172e63",
"rgb": {
"r": 23,
"g": 46,
"b": 99
},
"hsl": {
"h": 221.842,
"s": 62.295,
"l": 23.922
},
"oklch": {
"l": 0.31604,
"c": 0.09829,
"h": 264
},
"luminance": 0.03037
}Semantic roles & 50–950 ramp
primary
#172E63
secondary
#9A7D3C
accent
#B442E5
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D