#181679#181679
#181679 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.159 H 271.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).
Color values
| HEX | #181679 |
|---|---|
| RGB | rgb(24, 22, 121) |
| HSL | hsl(241, 69%, 28%) |
| HSV | hsv(241, 82%, 47%) |
| CMYK | cmyk(80.2%, 81.8%, 0%, 52.5%) |
| CIE-LAB | lab(16.25, 36.56, -54.74) |
| CIE-LCH | lch(16.25, 65.83, 303.74°) |
| OKLab | oklab(29.38% 0.005 -0.1585) |
| OKLCH | oklch(29.38% 0.159 271.8) |
| XYZ | xyz(4.1136, 2.1480, 18.2833) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.80
Dark Royal Blue
#02066F
ΔE00 3.49
Royal
#0C1793
ΔE00 3.80
Deep Blue
#040273
ΔE00 3.88
Navy
#000080
ΔE00 4.08
Darkblue (survey)
#030764
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181679 #777916
analogous
#164579 #181679 #491679
triadic
#181679 #791816 #167918
tetradic
#181679 #791645 #777916 #167949
square
#181679 #791645 #777916 #167949
split-complementary
#181679 #794916 #457916
monochromatic
#05051A #0E0D45 #181679 #221FAD #3330D9
Accessibility & contrast
On white
14.69
#181679 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#181679 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181679
14.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181679 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181679 | 1.00 | 14.69 | 1.43 | 14.69 |
| #FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #181679; /* rgb */ color: rgb(24, 22, 121); /* oklch */ color: oklch(29.4% 0.159 271.8);
Tailwind
colors: {
custom: {
50: '#6855a1',
500: '#181679',
950: '#000000',
},
}SCSS
$custom: #181679; $custom-light: #6855a1; $custom-dark: #000000;
JSON
{
"hex": "#181679",
"rgb": {
"r": 24,
"g": 22,
"b": 121
},
"hsl": {
"h": 241.212,
"s": 69.231,
"l": 28.039
},
"oklch": {
"l": 0.29382,
"c": 0.15854,
"h": 271.8
},
"luminance": 0.02148
}Semantic roles & 50–950 ramp
primary
#181679
secondary
#ACAE3D
accent
#EC3CE8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F