#18137C#18137C
#18137C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.165 H 271.8°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #18137C |
|---|---|
| RGB | rgb(24, 19, 124) |
| HSL | hsl(243, 73%, 28%) |
| HSV | hsv(243, 85%, 49%) |
| CMYK | cmyk(80.6%, 84.7%, 0%, 51.4%) |
| CIE-LAB | lab(16.08, 39.15, -56.94) |
| CIE-LCH | lch(16.08, 69.10, 304.51°) |
| OKLab | oklab(29.37% 0.0052 -0.1648) |
| OKLCH | oklch(29.37% 0.165 271.8) |
| XYZ | xyz(4.2464, 2.1147, 19.2493) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.63
Dark Royal Blue
#02066F
ΔE00 3.20
Navy
#000080
ΔE00 3.31
Deep Blue
#040273
ΔE00 3.38
Royal
#0C1793
ΔE00 3.40
Darkblue
#00008B
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18137C #777C13
analogous
#13427C #18137C #4C137C
triadic
#18137C #7C1813 #137C18
tetradic
#18137C #7C1342 #777C13 #137C4C
square
#18137C #7C1342 #777C13 #137C4C
split-complementary
#18137C #7C4C13 #427C13
monochromatic
#05041B #0E0B47 #18137C #221BB1 #332BDF
Accessibility & contrast
On white
14.76
#18137C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#18137C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18137C
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18137C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18137C | 1.00 | 14.76 | 1.42 | 14.76 |
| #FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #18137c; /* rgb */ color: rgb(24, 19, 124); /* oklch */ color: oklch(29.4% 0.165 271.8);
Tailwind
colors: {
custom: {
50: '#6954a3',
500: '#18137c',
950: '#000000',
},
}SCSS
$custom: #18137c; $custom-light: #6954a3; $custom-dark: #000000;
JSON
{
"hex": "#18137c",
"rgb": {
"r": 24,
"g": 19,
"b": 124
},
"hsl": {
"h": 242.857,
"s": 73.427,
"l": 28.039
},
"oklch": {
"l": 0.29374,
"c": 0.16486,
"h": 271.8
},
"luminance": 0.02115
}Semantic roles & 50–950 ramp
primary
#18137C
secondary
#ACB239
accent
#F038E7
background
#F6F5FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F