#181B72#181B72
#181B72 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.144 H 271.7°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).
Color values
| HEX | #181B72 |
|---|---|
| RGB | rgb(24, 27, 114) |
| HSL | hsl(238, 65%, 27%) |
| HSV | hsv(238, 79%, 45%) |
| CMYK | cmyk(78.9%, 76.3%, 0%, 55.3%) |
| CIE-LAB | lab(16.47, 31.10, -49.87) |
| CIE-LCH | lch(16.47, 58.77, 301.95°) |
| OKLab | oklab(29.3% 0.0043 -0.1443) |
| OKLCH | oklch(29.3% 0.144 271.7) |
| XYZ | xyz(3.8049, 2.1926, 16.1390) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.62
Dark Royal Blue
#02066F
ΔE00 4.61
Darkblue (survey)
#030764
ΔE00 4.81
Royal
#0C1793
ΔE00 5.18
Deep Blue
#040273
ΔE00 5.29
Navy
#000080
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181B72 #726F18
analogous
#184872 #181B72 #421872
triadic
#181B72 #72181B #1B7218
tetradic
#181B72 #721848 #726F18 #187242
square
#181B72 #721848 #726F18 #187242
split-complementary
#181B72 #724218 #487218
monochromatic
#050619 #0D0F3F #181B72 #2327A5 #3136D4
Accessibility & contrast
On white
14.60
#181B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#181B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181B72
14.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181B72 | 1.00 | 14.60 | 1.44 | 14.60 |
| #FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #181b72; /* rgb */ color: rgb(24, 27, 114); /* oklch */ color: oklch(29.3% 0.144 271.7);
Tailwind
colors: {
custom: {
50: '#66589c',
500: '#181b72',
950: '#000000',
},
}SCSS
$custom: #181b72; $custom-light: #66589c; $custom-dark: #000000;
JSON
{
"hex": "#181b72",
"rgb": {
"r": 24,
"g": 27,
"b": 114
},
"hsl": {
"h": 238,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.29296,
"c": 0.14441,
"h": 271.7
},
"luminance": 0.02193
}Semantic roles & 50–950 ramp
primary
#181B72
secondary
#A7A43E
accent
#E340E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E