#181876#181876
#181876 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.153 H 271.8°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #181876 |
|---|---|
| RGB | rgb(24, 24, 118) |
| HSL | hsl(240, 66%, 28%) |
| HSV | hsv(240, 80%, 46%) |
| CMYK | cmyk(79.7%, 79.7%, 0%, 53.7%) |
| CIE-LAB | lab(16.28, 34.37, -52.76) |
| CIE-LCH | lch(16.28, 62.97, 303.09°) |
| OKLab | oklab(29.3% 0.0049 -0.1527) |
| OKLCH | oklch(29.3% 0.153 271.8) |
| XYZ | xyz(3.9722, 2.1550, 17.3426) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.09
Dark Royal Blue
#02066F
ΔE00 3.83
Royal
#0C1793
ΔE00 4.33
Deep Blue
#040273
ΔE00 4.36
Darkblue (survey)
#030764
ΔE00 4.40
Navy
#000080
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181876 #767618
analogous
#184776 #181876 #471876
triadic
#181876 #761818 #187618
tetradic
#181876 #761847 #767618 #187647
square
#181876 #761847 #767618 #187647
split-complementary
#181876 #764718 #477618
monochromatic
#050519 #0E0E43 #181876 #2222A9 #3333D5
Accessibility & contrast
On white
14.68
#181876 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#181876 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181876
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181876 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181876 | 1.00 | 14.68 | 1.43 | 14.68 |
| #FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #181876; /* rgb */ color: rgb(24, 24, 118); /* oklch */ color: oklch(29.3% 0.153 271.8);
Tailwind
colors: {
custom: {
50: '#67569f',
500: '#181876',
950: '#000000',
},
}SCSS
$custom: #181876; $custom-light: #67569f; $custom-dark: #000000;
JSON
{
"hex": "#181876",
"rgb": {
"r": 24,
"g": 24,
"b": 118
},
"hsl": {
"h": 240,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.29301,
"c": 0.1528,
"h": 271.8
},
"luminance": 0.02155
}Semantic roles & 50–950 ramp
primary
#181876
secondary
#ABAB3F
accent
#E93FE9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E