#181B77#181B77
#181B77 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.151 H 271.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #181B77 |
|---|---|
| RGB | rgb(24, 27, 119) |
| HSL | hsl(238, 66%, 28%) |
| HSV | hsv(238, 80%, 47%) |
| CMYK | cmyk(79.8%, 77.3%, 0%, 53.3%) |
| CIE-LAB | lab(17.03, 32.93, -52.15) |
| CIE-LCH | lch(17.03, 61.68, 302.27°) |
| OKLab | oklab(29.87% 0.0035 -0.151) |
| OKLCH | oklch(29.87% 0.151 271.3) |
| XYZ | xyz(4.0973, 2.3095, 17.6790) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.17
Royal
#0C1793
ΔE00 4.36
Dark Royal Blue
#02066F
ΔE00 4.55
Darkblue (survey)
#030764
ΔE00 5.05
Deep Blue
#040273
ΔE00 5.10
Navy
#000080
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181B77 #777418
analogous
#184A77 #181B77 #441877
triadic
#181B77 #77181B #1B7718
tetradic
#181B77 #77184A #777418 #187744
square
#181B77 #77184A #777418 #187744
split-complementary
#181B77 #774418 #4A7718
monochromatic
#050619 #0E0F44 #181B77 #2227AA #3339D6
Accessibility & contrast
On white
14.36
#181B77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#181B77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181B77
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181B77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181B77 | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181b77; /* rgb */ color: rgb(24, 27, 119); /* oklch */ color: oklch(29.9% 0.151 271.3);
Tailwind
colors: {
custom: {
50: '#67589f',
500: '#181b77',
950: '#000000',
},
}SCSS
$custom: #181b77; $custom-light: #67589f; $custom-dark: #000000;
JSON
{
"hex": "#181b77",
"rgb": {
"r": 24,
"g": 27,
"b": 119
},
"hsl": {
"h": 238.105,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.29869,
"c": 0.15104,
"h": 271.3
},
"luminance": 0.0231
}Semantic roles & 50–950 ramp
primary
#181B77
secondary
#ACA93F
accent
#E43EE9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E