#171A7F#171A7F
#171A7F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.163 H 270.4°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #171A7F |
|---|---|
| RGB | rgb(23, 26, 127) |
| HSL | hsl(238, 69%, 29%) |
| HSV | hsv(238, 82%, 50%) |
| CMYK | cmyk(81.9%, 79.5%, 0%, 50.2%) |
| CIE-LAB | lab(17.70, 36.31, -56.16) |
| CIE-LCH | lch(17.70, 66.87, 302.88°) |
| OKLab | oklab(30.6% 0.0012 -0.1626) |
| OKLCH | oklch(30.6% 0.163 270.4) |
| XYZ | xyz(4.5522, 2.4527, 20.3081) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.39
Royal
#0C1793
ΔE00 3.03
Dark Royal Blue
#02066F
ΔE00 4.59
Navy
#000080
ΔE00 4.74
Darkblue
#00008B
ΔE00 4.78
Deep Blue
#040273
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171A7F #7F7C17
analogous
#174E7F #171A7F #48177F
triadic
#171A7F #7F171A #1A7F17
tetradic
#171A7F #7F174E #7F7C17 #177F48
square
#171A7F #7F174E #7F7C17 #177F48
split-complementary
#171A7F #7F4817 #4E7F17
monochromatic
#05051A #0E0F4B #171A7F #2025B3 #363BDB
Accessibility & contrast
On white
14.09
#171A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#171A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171A7F
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171A7F | 1.00 | 14.09 | 1.49 | 14.09 |
| #FFFFFF | 14.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #171a7f; /* rgb */ color: rgb(23, 26, 127); /* oklch */ color: oklch(30.6% 0.163 270.4);
Tailwind
colors: {
custom: {
50: '#6958a5',
500: '#171a7f',
950: '#000000',
},
}SCSS
$custom: #171a7f; $custom-light: #6958a5; $custom-dark: #000000;
JSON
{
"hex": "#171a7f",
"rgb": {
"r": 23,
"g": 26,
"b": 127
},
"hsl": {
"h": 238.269,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.30603,
"c": 0.16265,
"h": 270.4
},
"luminance": 0.02453
}Semantic roles & 50–950 ramp
primary
#171A7F
secondary
#B4B03E
accent
#E73CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F