#17267E#17267E
#17267E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.148 H 268.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #17267E |
|---|---|
| RGB | rgb(23, 38, 126) |
| HSL | hsl(231, 69%, 29%) |
| HSV | hsv(231, 82%, 49%) |
| CMYK | cmyk(81.7%, 69.8%, 0%, 50.6%) |
| CIE-LAB | lab(20.34, 28.33, -51.18) |
| CIE-LCH | lch(20.34, 58.49, 298.96°) |
| OKLab | oklab(32.46% -0.0039 -0.1482) |
| OKLCH | oklch(32.46% 0.148 268.5) |
| XYZ | xyz(4.8111, 3.0742, 20.0744) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.01
Royal
#0C1793
ΔE00 5.31
Dark Royal Blue
#02066F
ΔE00 7.64
Marine
#042E60
ΔE00 7.70
Sapphire (survey)
#2138AB
ΔE00 7.74
Darkblue (survey)
#030764
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17267E #7E6F17
analogous
#175A7E #17267E #3C177E
triadic
#17267E #7E1726 #267E17
tetradic
#17267E #7E175A #7E6F17 #177E3C
square
#17267E #7E175A #7E6F17 #177E3C
split-complementary
#17267E #7E3C17 #5A7E17
monochromatic
#05081A #0E164A #17267E #2036B2 #354DDA
Accessibility & contrast
On white
13.00
#17267E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#17267E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17267E
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17267E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17267E | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #17267e; /* rgb */ color: rgb(23, 38, 126); /* oklch */ color: oklch(32.5% 0.148 268.5);
Tailwind
colors: {
custom: {
50: '#6860a4',
500: '#17267e',
950: '#000000',
},
}SCSS
$custom: #17267e; $custom-light: #6860a4; $custom-dark: #000000;
JSON
{
"hex": "#17267e",
"rgb": {
"r": 23,
"g": 38,
"b": 126
},
"hsl": {
"h": 231.262,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.32459,
"c": 0.14824,
"h": 268.5
},
"luminance": 0.03075
}Semantic roles & 50–950 ramp
primary
#17267E
secondary
#B3A23E
accent
#D23CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F