#181B74#181B74
#181B74 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.147 H 271.6°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #181B74 |
|---|---|
| RGB | rgb(24, 27, 116) |
| HSL | hsl(238, 66%, 27%) |
| HSV | hsv(238, 79%, 45%) |
| CMYK | cmyk(79.3%, 76.7%, 0%, 54.5%) |
| CIE-LAB | lab(16.69, 31.83, -50.79) |
| CIE-LCH | lch(16.69, 59.94, 302.08°) |
| OKLab | oklab(29.52% 0.004 -0.147) |
| OKLCH | oklch(29.52% 0.147 271.6) |
| XYZ | xyz(3.9199, 2.2386, 16.7451) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.78
Dark Royal Blue
#02066F
ΔE00 4.57
Royal
#0C1793
ΔE00 4.85
Darkblue (survey)
#030764
ΔE00 4.89
Deep Blue
#040273
ΔE00 5.19
Navy
#000080
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181B74 #747118
analogous
#184974 #181B74 #431874
triadic
#181B74 #74181B #1B7418
tetradic
#181B74 #741849 #747118 #187443
square
#181B74 #741849 #747118 #187443
split-complementary
#181B74 #744318 #497418
monochromatic
#050619 #0E0F41 #181B74 #2227A7 #3237D5
Accessibility & contrast
On white
14.50
#181B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#181B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181B74
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181B74 | 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)
#002E77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #181b74; /* rgb */ color: rgb(24, 27, 116); /* oklch */ color: oklch(29.5% 0.147 271.6);
Tailwind
colors: {
custom: {
50: '#66589d',
500: '#181b74',
950: '#000000',
},
}SCSS
$custom: #181b74; $custom-light: #66589d; $custom-dark: #000000;
JSON
{
"hex": "#181b74",
"rgb": {
"r": 24,
"g": 27,
"b": 116
},
"hsl": {
"h": 238.043,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.29524,
"c": 0.14707,
"h": 271.6
},
"luminance": 0.02239
}Semantic roles & 50–950 ramp
primary
#181B74
secondary
#A9A63F
accent
#E33FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E