#18106F#18106F
#18106F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.151 H 273.7°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).
Color values
| HEX | #18106F |
|---|---|
| RGB | rgb(24, 16, 111) |
| HSL | hsl(245, 75%, 25%) |
| HSV | hsv(245, 86%, 44%) |
| CMYK | cmyk(78.4%, 85.6%, 0%, 56.5%) |
| CIE-LAB | lab(13.90, 36.37, -52.17) |
| CIE-LCH | lch(13.90, 63.59, 304.88°) |
| OKLab | oklab(27.38% 0.0096 -0.1509) |
| OKLCH | oklch(27.38% 0.151 273.7) |
| XYZ | xyz(3.4303, 1.7121, 15.1855) |
| Luminance | 0.0171 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.19
Dark Royal Blue
#02066F
ΔE00 2.23
Darkblue (survey)
#030764
ΔE00 2.66
Deep Blue
#040273
ΔE00 2.84
Navy
#000080
ΔE00 3.88
Dark Blue
#00035B
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18106F #676F10
analogous
#10376F #18106F #48106F
triadic
#18106F #6F1810 #106F18
tetradic
#18106F #6F1037 #676F10 #106F48
square
#18106F #6F1037 #676F10 #106F48
split-complementary
#18106F #6F4810 #376F10
monochromatic
#06041B #0C083A #18106F #2418A4 #2F1FDA
Accessibility & contrast
On white
15.64
#18106F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.34
#18106F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18106F
15.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18106F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18106F | 1.00 | 15.64 | 1.34 | 15.64 |
| #FFFFFF | 15.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#001F6D
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #18106f; /* rgb */ color: rgb(24, 16, 111); /* oklch */ color: oklch(27.4% 0.151 273.7);
Tailwind
colors: {
custom: {
50: '#665199',
500: '#18106f',
950: '#000000',
},
}SCSS
$custom: #18106f; $custom-light: #665199; $custom-dark: #000000;
JSON
{
"hex": "#18106f",
"rgb": {
"r": 24,
"g": 16,
"b": 111
},
"hsl": {
"h": 245.053,
"s": 74.803,
"l": 24.902
},
"oklch": {
"l": 0.27384,
"c": 0.15121,
"h": 273.7
},
"luminance": 0.01712
}Semantic roles & 50–950 ramp
primary
#18106F
secondary
#9DA734
accent
#F136E2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E