#181B76#181B76
#181B76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.150 H 271.4°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #181B76 |
|---|---|
| RGB | rgb(24, 27, 118) |
| HSL | hsl(238, 66%, 28%) |
| HSV | hsv(238, 80%, 46%) |
| CMYK | cmyk(79.7%, 77.1%, 0%, 53.7%) |
| CIE-LAB | lab(16.92, 32.56, -51.70) |
| CIE-LCH | lch(16.92, 61.10, 302.21°) |
| OKLab | oklab(29.75% 0.0036 -0.1497) |
| OKLCH | oklch(29.75% 0.15 271.4) |
| XYZ | xyz(4.0375, 2.2856, 17.3644) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.03
Royal
#0C1793
ΔE00 4.52
Dark Royal Blue
#02066F
ΔE00 4.55
Darkblue (survey)
#030764
ΔE00 4.99
Deep Blue
#040273
ΔE00 5.13
Navy
#000080
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181B76 #767318
analogous
#184A76 #181B76 #441876
triadic
#181B76 #76181B #1B7618
tetradic
#181B76 #76184A #767318 #187644
square
#181B76 #76184A #767318 #187644
split-complementary
#181B76 #764418 #4A7618
monochromatic
#050619 #0E0F43 #181B76 #2227A9 #3338D5
Accessibility & contrast
On white
14.41
#181B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#181B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181B76
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181B76 | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181b76; /* rgb */ color: rgb(24, 27, 118); /* oklch */ color: oklch(29.8% 0.150 271.4);
Tailwind
colors: {
custom: {
50: '#67589f',
500: '#181b76',
950: '#000000',
},
}SCSS
$custom: #181b76; $custom-light: #67589f; $custom-dark: #000000;
JSON
{
"hex": "#181b76",
"rgb": {
"r": 24,
"g": 27,
"b": 118
},
"hsl": {
"h": 238.085,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.29754,
"c": 0.14972,
"h": 271.4
},
"luminance": 0.02286
}Semantic roles & 50–950 ramp
primary
#181B76
secondary
#ABA83F
accent
#E43FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E