#172A4B#172A4B
#172A4B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.066 H 260.7°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #172A4B |
|---|---|
| RGB | rgb(23, 42, 75) |
| HSL | hsl(218, 53%, 19%) |
| HSV | hsv(218, 69%, 29%) |
| CMYK | cmyk(69.3%, 44%, 0%, 70.6%) |
| CIE-LAB | lab(17.21, 4.58, -22.79) |
| CIE-LCH | lch(17.21, 23.24, 281.38°) |
| OKLab | oklab(28.77% -0.0106 -0.0648) |
| OKLCH | oklch(28.77% 0.066 260.7) |
| XYZ | xyz(2.4509, 2.3459, 6.9789) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.01
Marine
#042E60
ΔE00 4.50
Navy (survey)
#01153E
ΔE00 6.97
Marine Blue
#01386A
ΔE00 7.03
Dark
#1B2431
ΔE00 8.23
Navy Blue (survey)
#001146
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172A4B #4B3817
analogous
#17444B #172A4B #1E174B
triadic
#172A4B #4B172A #2A4B17
tetradic
#172A4B #4B1744 #4B3817 #174B1E
square
#172A4B #4B1744 #4B3817 #174B1E
split-complementary
#172A4B #4B1E17 #444B17
monochromatic
#070D17 #09101C #172A4B #25447A #345EA9
Accessibility & contrast
On white
14.29
#172A4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#172A4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172A4B
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172A4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172A4B | 1.00 | 14.29 | 1.47 | 14.29 |
| #FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B2D4C
Deuteranopia (green-blind)
#14284A
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #172a4b; /* rgb */ color: rgb(23, 42, 75); /* oklch */ color: oklch(28.8% 0.066 260.7);
Tailwind
colors: {
custom: {
50: '#5a637d',
500: '#172a4b',
950: '#000000',
},
}SCSS
$custom: #172a4b; $custom-light: #5a637d; $custom-dark: #000000;
JSON
{
"hex": "#172a4b",
"rgb": {
"r": 23,
"g": 42,
"b": 75
},
"hsl": {
"h": 218.077,
"s": 53.061,
"l": 19.216
},
"oklch": {
"l": 0.28766,
"c": 0.06566,
"h": 260.7
},
"luminance": 0.02346
}Semantic roles & 50–950 ramp
primary
#172A4B
secondary
#82683C
accent
#A74BDC
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B