#17266C#17266C
#17266C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.6% C 0.123 H 268.6°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #17266C |
|---|---|
| RGB | rgb(23, 38, 108) |
| HSL | hsl(229, 65%, 26%) |
| HSV | hsv(229, 79%, 42%) |
| CMYK | cmyk(78.7%, 64.8%, 0%, 57.6%) |
| CIE-LAB | lab(18.59, 21.17, -42.50) |
| CIE-LCH | lch(18.59, 47.48, 296.48°) |
| OKLab | oklab(30.64% -0.003 -0.1228) |
| OKLCH | oklch(30.64% 0.123 268.6) |
| XYZ | xyz(3.7523, 2.6507, 14.4983) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.60
Marine
#042E60
ΔE00 5.67
Navy Blue
#1B2A4A
ΔE00 7.64
Navy Blue (survey)
#001146
ΔE00 7.70
Royal
#0C1793
ΔE00 8.08
Darkblue (survey)
#030764
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17266C #6C5D17
analogous
#17506C #17266C #32176C
triadic
#17266C #6C1726 #266C17
tetradic
#17266C #6C1750 #6C5D17 #176C32
square
#17266C #6C1750 #6C5D17 #176C32
split-complementary
#17266C #6C3217 #506C17
monochromatic
#050919 #0C143A #17266C #22389E #2C4AD1
Accessibility & contrast
On white
13.72
#17266C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#17266C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17266C
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17266C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17266C | 1.00 | 13.72 | 1.53 | 13.72 |
| #FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #17266c; /* rgb */ color: rgb(23, 38, 108); /* oklch */ color: oklch(30.6% 0.123 268.6);
Tailwind
colors: {
custom: {
50: '#636097',
500: '#17266c',
950: '#000000',
},
}SCSS
$custom: #17266c; $custom-light: #636097; $custom-dark: #000000;
JSON
{
"hex": "#17266c",
"rgb": {
"r": 23,
"g": 38,
"b": 108
},
"hsl": {
"h": 229.412,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.30637,
"c": 0.12283,
"h": 268.6
},
"luminance": 0.02651
}Semantic roles & 50–950 ramp
primary
#17266C
secondary
#A2903D
accent
#CA40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E