#172BA0#172BA0
#172BA0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.187 H 267.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #172BA0 |
|---|---|
| RGB | rgb(23, 43, 160) |
| HSL | hsl(231, 75%, 36%) |
| HSV | hsv(231, 86%, 63%) |
| CMYK | cmyk(85.6%, 73.1%, 0%, 37.3%) |
| CIE-LAB | lab(25.10, 37.89, -64.44) |
| CIE-LCH | lch(25.10, 74.76, 300.45°) |
| OKLab | oklab(36.97% -0.0092 -0.1868) |
| OKLCH | oklch(36.97% 0.187 267.2) |
| XYZ | xyz(7.5602, 4.4470, 33.7108) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Royal
#0C1793
ΔE00 4.95
Indigo Blue
#3A18B1
ΔE00 5.91
Cobalt Blue
#030AA7
ΔE00 6.23
Royal Blue (survey)
#0504AA
ΔE00 6.78
True Blue
#010FCC
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172BA0 #A08C17
analogous
#176FA0 #172BA0 #4717A0
triadic
#172BA0 #A0172B #2BA017
tetradic
#172BA0 #A0176F #A08C17 #17A047
square
#172BA0 #A0176F #A08C17 #17A047
split-complementary
#172BA0 #A04717 #6FA017
monochromatic
#080E35 #0F1D6A #172BA0 #1F39D6 #4C62E5
Accessibility & contrast
On white
11.11
#172BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#172BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172BA0
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172BA0 | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #172ba0; /* rgb */ color: rgb(23, 43, 160); /* oklch */ color: oklch(37.0% 0.187 267.2);
Tailwind
colors: {
custom: {
50: '#7165bd',
500: '#172ba0',
950: '#000000',
},
}SCSS
$custom: #172ba0; $custom-light: #7165bd; $custom-dark: #000000;
JSON
{
"hex": "#172ba0",
"rgb": {
"r": 23,
"g": 43,
"b": 160
},
"hsl": {
"h": 231.241,
"s": 74.863,
"l": 35.882
},
"oklch": {
"l": 0.36972,
"c": 0.18705,
"h": 267.2
},
"luminance": 0.04448
}Semantic roles & 50–950 ramp
primary
#172BA0
secondary
#C7B54C
accent
#D636F1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81