#181B71#181B71
#181B71 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.143 H 271.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #181B71 |
|---|---|
| RGB | rgb(24, 27, 113) |
| HSL | hsl(238, 65%, 27%) |
| HSV | hsv(238, 79%, 44%) |
| CMYK | cmyk(78.8%, 76.1%, 0%, 55.7%) |
| CIE-LAB | lab(16.35, 30.73, -49.40) |
| CIE-LCH | lch(16.35, 58.18, 301.88°) |
| OKLab | oklab(29.18% 0.0045 -0.143) |
| OKLCH | oklch(29.18% 0.143 271.8) |
| XYZ | xyz(3.7483, 2.1699, 15.8409) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.59
Dark Royal Blue
#02066F
ΔE00 4.65
Darkblue (survey)
#030764
ΔE00 4.78
Deep Blue
#040273
ΔE00 5.34
Royal
#0C1793
ΔE00 5.35
Navy
#000080
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181B71 #716E18
analogous
#184871 #181B71 #421871
triadic
#181B71 #71181B #1B7118
tetradic
#181B71 #711848 #716E18 #187142
square
#181B71 #711848 #716E18 #187142
split-complementary
#181B71 #714218 #487118
monochromatic
#050619 #0D0F3F #181B71 #2327A3 #3036D3
Accessibility & contrast
On white
14.64
#181B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#181B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181B71
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181B71 | 1.00 | 14.64 | 1.43 | 14.64 |
| #FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #181b71; /* rgb */ color: rgb(24, 27, 113); /* oklch */ color: oklch(29.2% 0.143 271.8);
Tailwind
colors: {
custom: {
50: '#66589b',
500: '#181b71',
950: '#000000',
},
}SCSS
$custom: #181b71; $custom-light: #66589b; $custom-dark: #000000;
JSON
{
"hex": "#181b71",
"rgb": {
"r": 24,
"g": 27,
"b": 113
},
"hsl": {
"h": 237.978,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.29183,
"c": 0.14307,
"h": 271.8
},
"luminance": 0.0217
}Semantic roles & 50–950 ramp
primary
#181B71
secondary
#A6A33E
accent
#E240E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E