#18146F#18146F
#18146F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.148 H 273.2°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).
Color values
| HEX | #18146F |
|---|---|
| RGB | rgb(24, 20, 111) |
| HSL | hsl(243, 69%, 26%) |
| HSV | hsv(243, 82%, 44%) |
| CMYK | cmyk(78.4%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(14.63, 34.23, -50.95) |
| CIE-LCH | lch(14.63, 61.38, 303.89°) |
| OKLab | oklab(27.9% 0.0081 -0.1474) |
| OKLCH | oklch(27.9% 0.148 273.2) |
| XYZ | xyz(3.4951, 1.8418, 15.2072) |
| Luminance | 0.0184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.26
Dark Royal Blue
#02066F
ΔE00 2.99
Darkblue (survey)
#030764
ΔE00 3.21
Deep Blue
#040273
ΔE00 3.67
Navy
#000080
ΔE00 4.57
Dark Blue
#00035B
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18146F #6B6F14
analogous
#143D6F #18146F #45146F
triadic
#18146F #6F1814 #146F18
tetradic
#18146F #6F143D #6B6F14 #146F45
square
#18146F #6F143D #6B6F14 #146F45
split-complementary
#18146F #6F4514 #3D6F14
monochromatic
#06051A #0D0B3B #18146F #231DA3 #2E27D7
Accessibility & contrast
On white
15.35
#18146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#18146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18146F
15.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18146F | 1.00 | 15.35 | 1.37 | 15.35 |
| #FFFFFF | 15.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #18146f; /* rgb */ color: rgb(24, 20, 111); /* oklch */ color: oklch(27.9% 0.148 273.2);
Tailwind
colors: {
custom: {
50: '#665499',
500: '#18146f',
950: '#000000',
},
}SCSS
$custom: #18146f; $custom-light: #665499; $custom-dark: #000000;
JSON
{
"hex": "#18146f",
"rgb": {
"r": 24,
"g": 20,
"b": 111
},
"hsl": {
"h": 242.637,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.27897,
"c": 0.14764,
"h": 273.2
},
"luminance": 0.01842
}Semantic roles & 50–950 ramp
primary
#18146F
secondary
#A1A639
accent
#EC3CE5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E