#172B5F#172B5F
#172B5F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.096 H 265.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #172B5F |
|---|---|
| RGB | rgb(23, 43, 95) |
| HSL | hsl(223, 61%, 23%) |
| HSV | hsv(223, 76%, 37%) |
| CMYK | cmyk(75.8%, 54.7%, 0%, 62.7%) |
| CIE-LAB | lab(18.95, 12.16, -33.39) |
| CIE-LCH | lch(18.95, 35.53, 290.01°) |
| OKLab | oklab(30.56% -0.0079 -0.0959) |
| OKLCH | oklch(30.56% 0.096 265.3) |
| XYZ | xyz(3.2821, 2.7358, 11.1793) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.03
Navy Blue
#1B2A4A
ΔE00 4.66
Marine Blue
#01386A
ΔE00 6.19
Navy (survey)
#01153E
ΔE00 7.47
Navy Blue (survey)
#001146
ΔE00 8.07
Midnight Blue
#191970
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B5F #5F4B17
analogous
#174F5F #172B5F #27175F
triadic
#172B5F #5F172B #2B5F17
tetradic
#172B5F #5F174F #5F4B17 #175F27
square
#172B5F #5F174F #5F4B17 #175F27
split-complementary
#172B5F #5F2717 #4F5F17
monochromatic
#060B19 #0B152E #172B5F #234190 #2F58C2
Accessibility & contrast
On white
13.57
#172B5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#172B5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B5F
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B5F | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B3261
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #172b5f; /* rgb */ color: rgb(23, 43, 95); /* oklch */ color: oklch(30.6% 0.096 265.3);
Tailwind
colors: {
custom: {
50: '#5f638d',
500: '#172b5f',
950: '#000000',
},
}SCSS
$custom: #172b5f; $custom-light: #5f638d; $custom-dark: #000000;
JSON
{
"hex": "#172b5f",
"rgb": {
"r": 23,
"g": 43,
"b": 95
},
"hsl": {
"h": 223.333,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.30564,
"c": 0.09627,
"h": 265.3
},
"luminance": 0.02736
}Semantic roles & 50–950 ramp
primary
#172B5F
secondary
#967D3C
accent
#B844E4
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D