#181C72#181C72
#181C72 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.143 H 271.5°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #181C72 |
|---|---|
| RGB | rgb(24, 28, 114) |
| HSL | hsl(237, 65%, 27%) |
| HSV | hsv(237, 79%, 45%) |
| CMYK | cmyk(78.9%, 75.4%, 0%, 55.3%) |
| CIE-LAB | lab(16.70, 30.46, -49.49) |
| CIE-LCH | lch(16.70, 58.11, 301.61°) |
| OKLab | oklab(29.46% 0.0038 -0.1432) |
| OKLCH | oklch(29.46% 0.143 271.5) |
| XYZ | xyz(3.8282, 2.2392, 16.1468) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.87
Dark Royal Blue
#02066F
ΔE00 4.89
Darkblue (survey)
#030764
ΔE00 5.05
Royal
#0C1793
ΔE00 5.28
Deep Blue
#040273
ΔE00 5.57
Navy
#000080
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181C72 #726E18
analogous
#184972 #181C72 #411872
triadic
#181C72 #72181C #1C7218
tetradic
#181C72 #721849 #726E18 #187241
square
#181C72 #721849 #726E18 #187241
split-complementary
#181C72 #724118 #497218
monochromatic
#050619 #0D103F #181C72 #2328A5 #3138D4
Accessibility & contrast
On white
14.50
#181C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#181C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181C72
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181C72 | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #181c72; /* rgb */ color: rgb(24, 28, 114); /* oklch */ color: oklch(29.5% 0.143 271.5);
Tailwind
colors: {
custom: {
50: '#66599c',
500: '#181c72',
950: '#000000',
},
}SCSS
$custom: #181c72; $custom-light: #66599c; $custom-dark: #000000;
JSON
{
"hex": "#181c72",
"rgb": {
"r": 24,
"g": 28,
"b": 114
},
"hsl": {
"h": 237.333,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.29459,
"c": 0.1433,
"h": 271.5
},
"luminance": 0.0224
}Semantic roles & 50–950 ramp
primary
#181C72
secondary
#A7A33E
accent
#E140E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E