#172B6F#172B6F
#172B6F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.0% C 0.121 H 266.8°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #172B6F |
|---|---|
| RGB | rgb(23, 43, 111) |
| HSL | hsl(226, 66%, 26%) |
| HSV | hsv(226, 79%, 44%) |
| CMYK | cmyk(79.3%, 61.3%, 0%, 56.5%) |
| CIE-LAB | lab(20.27, 18.81, -41.69) |
| CIE-LCH | lch(20.27, 45.74, 294.28°) |
| OKLab | oklab(31.97% -0.0067 -0.1204) |
| OKLCH | oklch(31.97% 0.121 266.8) |
| XYZ | xyz(4.0855, 3.0572, 15.4106) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.52
Midnight Blue
#191970
ΔE00 6.14
Marine Blue
#01386A
ΔE00 6.77
Navy Blue
#1B2A4A
ΔE00 7.32
Darkish Blue
#014182
ΔE00 8.49
Royal
#0C1793
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B6F #6F5B17
analogous
#17576F #172B6F #2F176F
triadic
#172B6F #6F172B #2B6F17
tetradic
#172B6F #6F1757 #6F5B17 #176F2F
square
#172B6F #6F1757 #6F5B17 #176F2F
split-complementary
#172B6F #6F2F17 #576F17
monochromatic
#050A19 #0C173C #172B6F #223FA2 #2D53D3
Accessibility & contrast
On white
13.03
#172B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#172B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B6F
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B6F | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #172b6f; /* rgb */ color: rgb(23, 43, 111); /* oklch */ color: oklch(32.0% 0.121 266.8);
Tailwind
colors: {
custom: {
50: '#636399',
500: '#172b6f',
950: '#000000',
},
}SCSS
$custom: #172b6f; $custom-light: #636399; $custom-dark: #000000;
JSON
{
"hex": "#172b6f",
"rgb": {
"r": 23,
"g": 43,
"b": 111
},
"hsl": {
"h": 226.364,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.31974,
"c": 0.12055,
"h": 266.8
},
"luminance": 0.03058
}Semantic roles & 50–950 ramp
primary
#172B6F
secondary
#A58D3D
accent
#C23FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E