#17238F#17238F
#17238F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.174 H 268.5°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #17238F |
|---|---|
| RGB | rgb(23, 35, 143) |
| HSL | hsl(234, 72%, 33%) |
| HSV | hsv(234, 84%, 56%) |
| CMYK | cmyk(83.9%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(21.46, 36.64, -60.01) |
| CIE-LCH | lch(21.46, 70.31, 301.41°) |
| OKLab | oklab(33.81% -0.0045 -0.1739) |
| OKLCH | oklch(33.81% 0.174 268.5) |
| XYZ | xyz(5.9106, 3.3667, 26.3196) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.86
Midnight Blue
#191970
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.45
Royal Blue (survey)
#0504AA
ΔE00 6.07
Darkblue
#00008B
ΔE00 6.39
Indigo Blue
#3A18B1
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17238F #8F8317
analogous
#175F8F #17238F #47178F
triadic
#17238F #8F1723 #238F17
tetradic
#17238F #8F175F #8F8317 #178F47
square
#17238F #8F175F #8F8317 #178F47
split-complementary
#17238F #8F4717 #5F8F17
monochromatic
#060926 #0F165A #17238F #1F30C4 #4050E0
Accessibility & contrast
On white
12.55
#17238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#17238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17238F
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17238F | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #17238f; /* rgb */ color: rgb(23, 35, 143); /* oklch */ color: oklch(33.8% 0.174 268.5);
Tailwind
colors: {
custom: {
50: '#6d5fb1',
500: '#17238f',
950: '#000000',
},
}SCSS
$custom: #17238f; $custom-light: #6d5fb1; $custom-dark: #000000;
JSON
{
"hex": "#17238f",
"rgb": {
"r": 23,
"g": 35,
"b": 143
},
"hsl": {
"h": 234,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.3381,
"c": 0.17396,
"h": 268.5
},
"luminance": 0.03367
}Semantic roles & 50–950 ramp
primary
#17238F
secondary
#C1B441
accent
#DD39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980