#181874#181874
#181874 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.150 H 272.0°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #181874 |
|---|---|
| RGB | rgb(24, 24, 116) |
| HSL | hsl(240, 66%, 27%) |
| HSV | hsv(240, 79%, 45%) |
| CMYK | cmyk(79.3%, 79.3%, 0%, 54.5%) |
| CIE-LAB | lab(16.04, 33.66, -51.86) |
| CIE-LCH | lch(16.04, 61.83, 302.99°) |
| OKLab | oklab(29.06% 0.0053 -0.1501) |
| OKLCH | oklch(29.06% 0.15 272) |
| XYZ | xyz(3.8546, 2.1080, 16.7233) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.78
Dark Royal Blue
#02066F
ΔE00 3.82
Darkblue (survey)
#030764
ΔE00 4.26
Deep Blue
#040273
ΔE00 4.41
Royal
#0C1793
ΔE00 4.65
Navy
#000080
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181874 #747418
analogous
#184674 #181874 #461874
triadic
#181874 #741818 #187418
tetradic
#181874 #741846 #747418 #187446
square
#181874 #741846 #747418 #187446
split-complementary
#181874 #744618 #467418
monochromatic
#050519 #0E0E41 #181874 #2222A7 #3232D5
Accessibility & contrast
On white
14.77
#181874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#181874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181874
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181874 | 1.00 | 14.77 | 1.42 | 14.77 |
| #FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #181874; /* rgb */ color: rgb(24, 24, 116); /* oklch */ color: oklch(29.1% 0.150 272.0);
Tailwind
colors: {
custom: {
50: '#67569d',
500: '#181874',
950: '#000000',
},
}SCSS
$custom: #181874; $custom-light: #67569d; $custom-dark: #000000;
JSON
{
"hex": "#181874",
"rgb": {
"r": 24,
"g": 24,
"b": 116
},
"hsl": {
"h": 240,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.29064,
"c": 0.1502,
"h": 272
},
"luminance": 0.02108
}Semantic roles & 50–950 ramp
primary
#181874
secondary
#A9A93F
accent
#E93FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E