#18136F#18136F
#18136F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.149 H 273.3°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).
Color values
| HEX | #18136F |
|---|---|
| RGB | rgb(24, 19, 111) |
| HSL | hsl(243, 71%, 25%) |
| HSV | hsv(243, 83%, 44%) |
| CMYK | cmyk(78.4%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(14.44, 34.78, -51.27) |
| CIE-LCH | lch(14.44, 61.95, 304.15°) |
| OKLab | oklab(27.76% 0.0085 -0.1483) |
| OKLCH | oklch(27.76% 0.149 273.3) |
| XYZ | xyz(3.4778, 1.8073, 15.2014) |
| Luminance | 0.0181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.50
Dark Royal Blue
#02066F
ΔE00 2.78
Darkblue (survey)
#030764
ΔE00 3.05
Deep Blue
#040273
ΔE00 3.45
Navy
#000080
ΔE00 4.38
Dark Blue
#00035B
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18136F #6A6F13
analogous
#133C6F #18136F #46136F
triadic
#18136F #6F1813 #136F18
tetradic
#18136F #6F133C #6A6F13 #136F46
square
#18136F #6F133C #6A6F13 #136F46
split-complementary
#18136F #6F4613 #3C6F13
monochromatic
#06041A #0D0A3B #18136F #231CA3 #2F25D8
Accessibility & contrast
On white
15.42
#18136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#18136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18136F
15.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18136F | 1.00 | 15.42 | 1.36 | 15.42 |
| #FFFFFF | 15.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #18136f; /* rgb */ color: rgb(24, 19, 111); /* oklch */ color: oklch(27.8% 0.149 273.3);
Tailwind
colors: {
custom: {
50: '#665399',
500: '#18136f',
950: '#000000',
},
}SCSS
$custom: #18136f; $custom-light: #665399; $custom-dark: #000000;
JSON
{
"hex": "#18136f",
"rgb": {
"r": 24,
"g": 19,
"b": 111
},
"hsl": {
"h": 243.261,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.27762,
"c": 0.14858,
"h": 273.3
},
"luminance": 0.01808
}Semantic roles & 50–950 ramp
primary
#18136F
secondary
#A0A638
accent
#EE3AE4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E