#181687#181687
#181687 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.176 H 270.6°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).
Color values
| HEX | #181687 |
|---|---|
| RGB | rgb(24, 22, 135) |
| HSL | hsl(241, 72%, 31%) |
| HSV | hsv(241, 84%, 53%) |
| CMYK | cmyk(82.2%, 83.7%, 0%, 47.1%) |
| CIE-LAB | lab(17.99, 41.26, -60.74) |
| CIE-LCH | lch(17.99, 73.43, 304.19°) |
| OKLab | oklab(31.11% 0.0018 -0.1758) |
| OKLCH | oklch(31.11% 0.176 270.6) |
| XYZ | xyz(5.0353, 2.5167, 23.1374) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.75
Darkblue
#00008B
ΔE00 3.49
Midnight Blue
#191970
ΔE00 3.80
Navy
#000080
ΔE00 3.87
Cobalt Blue
#030AA7
ΔE00 4.53
Deep Blue
#040273
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181687 #858716
analogous
#164C87 #181687 #501687
triadic
#181687 #871816 #168718
tetradic
#181687 #87164C #858716 #168750
square
#181687 #87164C #858716 #168750
split-complementary
#181687 #875016 #4C8716
monochromatic
#05051E #0F0D52 #181687 #211FBC #3C39DF
Accessibility & contrast
On white
13.97
#181687 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#181687 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181687
13.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181687 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181687 | 1.00 | 13.97 | 1.50 | 13.97 |
| #FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002685
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181687; /* rgb */ color: rgb(24, 22, 135); /* oklch */ color: oklch(31.1% 0.176 270.6);
Tailwind
colors: {
custom: {
50: '#6c57ab',
500: '#181687',
950: '#000000',
},
}SCSS
$custom: #181687; $custom-light: #6c57ab; $custom-dark: #000000;
JSON
{
"hex": "#181687",
"rgb": {
"r": 24,
"g": 22,
"b": 135
},
"hsl": {
"h": 241.062,
"s": 71.975,
"l": 30.784
},
"oklch": {
"l": 0.31106,
"c": 0.17583,
"h": 270.6
},
"luminance": 0.02517
}Semantic roles & 50–950 ramp
primary
#181687
secondary
#B9BB3E
accent
#EF39EB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F