#17267F#17267F
#17267F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.150 H 268.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #17267F |
|---|---|
| RGB | rgb(23, 38, 127) |
| HSL | hsl(231, 69%, 29%) |
| HSV | hsv(231, 82%, 50%) |
| CMYK | cmyk(81.9%, 70.1%, 0%, 50.2%) |
| CIE-LAB | lab(20.44, 28.71, -51.64) |
| CIE-LCH | lch(20.44, 59.09, 299.07°) |
| OKLab | oklab(32.56% -0.004 -0.1496) |
| OKLCH | oklch(32.56% 0.15 268.5) |
| XYZ | xyz(4.8759, 3.1001, 20.4160) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.05
Royal
#0C1793
ΔE00 5.18
Sapphire (survey)
#2138AB
ΔE00 7.62
Dark Royal Blue
#02066F
ΔE00 7.63
Marine
#042E60
ΔE00 7.82
Darkblue
#00008B
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17267F #7F7017
analogous
#175A7F #17267F #3C177F
triadic
#17267F #7F1726 #267F17
tetradic
#17267F #7F175A #7F7017 #177F3C
square
#17267F #7F175A #7F7017 #177F3C
split-complementary
#17267F #7F3C17 #5A7F17
monochromatic
#05081A #0E164B #17267F #2036B3 #364EDB
Accessibility & contrast
On white
12.96
#17267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#17267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17267F
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17267F | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #17267f; /* rgb */ color: rgb(23, 38, 127); /* oklch */ color: oklch(32.6% 0.150 268.5);
Tailwind
colors: {
custom: {
50: '#6860a5',
500: '#17267f',
950: '#000000',
},
}SCSS
$custom: #17267f; $custom-light: #6860a5; $custom-dark: #000000;
JSON
{
"hex": "#17267f",
"rgb": {
"r": 23,
"g": 38,
"b": 127
},
"hsl": {
"h": 231.346,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.32564,
"c": 0.14961,
"h": 268.5
},
"luminance": 0.03101
}Semantic roles & 50–950 ramp
primary
#17267F
secondary
#B4A33E
accent
#D33CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F