#181772#181772
#181772 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.149 H 272.4°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).
Color values
| HEX | #181772 |
|---|---|
| RGB | rgb(24, 23, 114) |
| HSL | hsl(241, 66%, 27%) |
| HSV | hsv(241, 80%, 45%) |
| CMYK | cmyk(78.9%, 79.8%, 0%, 55.3%) |
| CIE-LAB | lab(15.60, 33.55, -51.30) |
| CIE-LCH | lch(15.60, 61.29, 303.18°) |
| OKLab | oklab(28.68% 0.0062 -0.1485) |
| OKLCH | oklch(28.68% 0.149 272.4) |
| XYZ | xyz(3.7193, 2.0215, 16.1105) |
| Luminance | 0.0202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.69
Dark Royal Blue
#02066F
ΔE00 3.60
Darkblue (survey)
#030764
ΔE00 3.94
Deep Blue
#040273
ΔE00 4.23
Navy
#000080
ΔE00 4.88
Royal
#0C1793
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181772 #717217
analogous
#174472 #181772 #461772
triadic
#181772 #721817 #177218
tetradic
#181772 #721744 #717217 #177246
square
#181772 #721744 #717217 #177246
split-complementary
#181772 #724617 #447217
monochromatic
#050519 #0D0D3F #181772 #2321A5 #302ED5
Accessibility & contrast
On white
14.95
#181772 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#181772 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181772
14.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181772 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181772 | 1.00 | 14.95 | 1.40 | 14.95 |
| #FFFFFF | 14.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #181772; /* rgb */ color: rgb(24, 23, 114); /* oklch */ color: oklch(28.7% 0.149 272.4);
Tailwind
colors: {
custom: {
50: '#66569c',
500: '#181772',
950: '#000000',
},
}SCSS
$custom: #181772; $custom-light: #66569c; $custom-dark: #000000;
JSON
{
"hex": "#181772",
"rgb": {
"r": 24,
"g": 23,
"b": 114
},
"hsl": {
"h": 240.659,
"s": 66.423,
"l": 26.863
},
"oklch": {
"l": 0.28681,
"c": 0.14861,
"h": 272.4
},
"luminance": 0.02022
}Semantic roles & 50–950 ramp
primary
#181772
secondary
#A6A83D
accent
#E93EE7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E