#181C74#181C74
#181C74 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.146 H 271.4°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #181C74 |
|---|---|
| RGB | rgb(24, 28, 116) |
| HSL | hsl(237, 66%, 27%) |
| HSV | hsv(237, 79%, 45%) |
| CMYK | cmyk(79.3%, 75.9%, 0%, 54.5%) |
| CIE-LAB | lab(16.92, 31.20, -50.41) |
| CIE-LCH | lch(16.92, 59.29, 301.76°) |
| OKLab | oklab(29.69% 0.0035 -0.1459) |
| OKLCH | oklch(29.69% 0.146 271.4) |
| XYZ | xyz(3.9433, 2.2852, 16.7529) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.97
Dark Royal Blue
#02066F
ΔE00 4.84
Royal
#0C1793
ΔE00 4.95
Darkblue (survey)
#030764
ΔE00 5.12
Deep Blue
#040273
ΔE00 5.47
Navy
#000080
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181C74 #747018
analogous
#184A74 #181C74 #421874
triadic
#181C74 #74181C #1C7418
tetradic
#181C74 #74184A #747018 #187442
square
#181C74 #74184A #747018 #187442
split-complementary
#181C74 #744218 #4A7418
monochromatic
#050619 #0E1041 #181C74 #2228A7 #3239D5
Accessibility & contrast
On white
14.41
#181C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#181C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181C74
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181C74 | 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)
#002E77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181c74; /* rgb */ color: rgb(24, 28, 116); /* oklch */ color: oklch(29.7% 0.146 271.4);
Tailwind
colors: {
custom: {
50: '#66599d',
500: '#181c74',
950: '#000000',
},
}SCSS
$custom: #181c74; $custom-light: #66599d; $custom-dark: #000000;
JSON
{
"hex": "#181c74",
"rgb": {
"r": 24,
"g": 28,
"b": 116
},
"hsl": {
"h": 237.391,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.29685,
"c": 0.14599,
"h": 271.4
},
"luminance": 0.02286
}Semantic roles & 50–950 ramp
primary
#181C74
secondary
#A9A53F
accent
#E13FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E