#18137E#18137E
#18137E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.167 H 271.6°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).
Color values
| HEX | #18137E |
|---|---|
| RGB | rgb(24, 19, 126) |
| HSL | hsl(243, 74%, 28%) |
| HSV | hsv(243, 85%, 49%) |
| CMYK | cmyk(81%, 84.9%, 0%, 50.6%) |
| CIE-LAB | lab(16.33, 39.81, -57.79) |
| CIE-LCH | lch(16.33, 70.18, 304.56°) |
| OKLab | oklab(29.63% 0.0047 -0.1672) |
| OKLCH | oklch(29.63% 0.167 271.6) |
| XYZ | xyz(4.3742, 2.1658, 19.9221) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.88
Royal
#0C1793
ΔE00 3.12
Navy
#000080
ΔE00 3.25
Dark Royal Blue
#02066F
ΔE00 3.38
Darkblue
#00008B
ΔE00 3.47
Deep Blue
#040273
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18137E #797E13
analogous
#13437E #18137E #4D137E
triadic
#18137E #7E1813 #137E18
tetradic
#18137E #7E1343 #797E13 #137E4D
square
#18137E #7E1343 #797E13 #137E4D
split-complementary
#18137E #7E4D13 #437E13
monochromatic
#05041B #0E0B49 #18137E #221BB3 #352CDF
Accessibility & contrast
On white
14.65
#18137E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#18137E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18137E
14.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18137E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18137E | 1.00 | 14.65 | 1.43 | 14.65 |
| #FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #18137e; /* rgb */ color: rgb(24, 19, 126); /* oklch */ color: oklch(29.6% 0.167 271.6);
Tailwind
colors: {
custom: {
50: '#6a54a5',
500: '#18137e',
950: '#000000',
},
}SCSS
$custom: #18137e; $custom-light: #6a54a5; $custom-dark: #000000;
JSON
{
"hex": "#18137e",
"rgb": {
"r": 24,
"g": 19,
"b": 126
},
"hsl": {
"h": 242.804,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.29625,
"c": 0.16731,
"h": 271.6
},
"luminance": 0.02166
}Semantic roles & 50–950 ramp
primary
#18137E
secondary
#AEB439
accent
#F037E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F