#172B90#172B90
#172B90 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.167 H 267.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #172B90 |
|---|---|
| RGB | rgb(23, 43, 144) |
| HSL | hsl(230, 72%, 33%) |
| HSV | hsv(230, 84%, 56%) |
| CMYK | cmyk(84%, 70.1%, 0%, 43.5%) |
| CIE-LAB | lab(23.41, 31.92, -57.40) |
| CIE-LCH | lch(23.41, 65.67, 299.08°) |
| OKLab | oklab(35.25% -0.0077 -0.1663) |
| OKLCH | oklch(35.25% 0.167 267.3) |
| XYZ | xyz(6.2495, 3.9228, 26.8079) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.00
Royal
#0C1793
ΔE00 5.07
Midnight Blue
#191970
ΔE00 6.39
Cobalt Blue
#030AA7
ΔE00 7.33
Indigo Blue
#3A18B1
ΔE00 7.68
Blueberry
#464196
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B90 #907C17
analogous
#176790 #172B90 #401790
triadic
#172B90 #90172B #2B9017
tetradic
#172B90 #901767 #907C17 #179040
square
#172B90 #901767 #907C17 #179040
split-complementary
#172B90 #904017 #679017
monochromatic
#060B26 #0F1B5B #172B90 #1F3BC5 #415BE1
Accessibility & contrast
On white
11.77
#172B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#172B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B90
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B90 | 1.00 | 11.77 | 1.78 | 11.77 |
| #FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #172b90; /* rgb */ color: rgb(23, 43, 144); /* oklch */ color: oklch(35.3% 0.167 267.3);
Tailwind
colors: {
custom: {
50: '#6c64b2',
500: '#172b90',
950: '#000000',
},
}SCSS
$custom: #172b90; $custom-light: #6c64b2; $custom-dark: #000000;
JSON
{
"hex": "#172b90",
"rgb": {
"r": 23,
"g": 43,
"b": 144
},
"hsl": {
"h": 230.083,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.35253,
"c": 0.1665,
"h": 267.3
},
"luminance": 0.03924
}Semantic roles & 50–950 ramp
primary
#172B90
secondary
#C1AC42
accent
#D139EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80