#18169E#18169E
#18169E is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.0% C 0.203 H 269.1°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #18169E |
|---|---|
| RGB | rgb(24, 22, 158) |
| HSL | hsl(241, 76%, 35%) |
| HSV | hsv(241, 86%, 62%) |
| CMYK | cmyk(84.8%, 86.1%, 0%, 38%) |
| CIE-LAB | lab(20.96, 48.57, -70.07) |
| CIE-LCH | lch(20.96, 85.26, 304.73°) |
| OKLab | oklab(34% -0.0033 -0.2028) |
| OKLCH | oklch(34% 0.203 269.1) |
| XYZ | xyz(6.8330, 3.2358, 32.6056) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.77
Cobalt Blue
#030AA7
ΔE00 1.90
Royal Blue (survey)
#0504AA
ΔE00 2.48
Ultramarine
#2000B1
ΔE00 3.27
Indigo Blue
#3A18B1
ΔE00 4.17
Darkblue
#00008B
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18169E #9C9E16
analogous
#16589E #18169E #5C169E
triadic
#18169E #9E1816 #169E18
tetradic
#18169E #9E1658 #9C9E16 #169E5C
square
#18169E #9E1658 #9C9E16 #169E5C
split-complementary
#18169E #9E5C16 #589E16
monochromatic
#080733 #100F68 #18169E #201DD4 #4B49E6
Accessibility & contrast
On white
12.75
#18169E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#18169E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18169E
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18169E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18169E | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #18169e; /* rgb */ color: rgb(24, 22, 158); /* oklch */ color: oklch(34.0% 0.203 269.1);
Tailwind
colors: {
custom: {
50: '#7259bc',
500: '#18169e',
950: '#000000',
},
}SCSS
$custom: #18169e; $custom-light: #7259bc; $custom-dark: #000000;
JSON
{
"hex": "#18169e",
"rgb": {
"r": 24,
"g": 22,
"b": 158
},
"hsl": {
"h": 240.882,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.34004,
"c": 0.20284,
"h": 269.1
},
"luminance": 0.03237
}Semantic roles & 50–950 ramp
primary
#18169E
secondary
#C5C749
accent
#F236EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981