#182871#182871
#182871 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.127 H 268.4°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #182871 |
|---|---|
| RGB | rgb(24, 40, 113) |
| HSL | hsl(229, 65%, 27%) |
| HSV | hsv(229, 79%, 44%) |
| CMYK | cmyk(78.8%, 64.6%, 0%, 55.7%) |
| CIE-LAB | lab(19.65, 21.89, -43.99) |
| CIE-LCH | lch(19.65, 49.13, 296.46°) |
| OKLab | oklab(31.58% -0.0035 -0.1271) |
| OKLCH | oklch(31.58% 0.127 268.4) |
| XYZ | xyz(4.1151, 2.9036, 15.9632) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.83
Marine
#042E60
ΔE00 5.70
Royal
#0C1793
ΔE00 7.71
Marine Blue
#01386A
ΔE00 7.97
Navy Blue
#1B2A4A
ΔE00 8.07
Navy Blue (survey)
#001146
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182871 #716118
analogous
#185571 #182871 #341871
triadic
#182871 #711828 #287118
tetradic
#182871 #711855 #716118 #187134
square
#182871 #711855 #716118 #187134
split-complementary
#182871 #713418 #557118
monochromatic
#050919 #0D163F #182871 #233AA3 #304ED3
Accessibility & contrast
On white
13.28
#182871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#182871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182871
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182871 | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #182871; /* rgb */ color: rgb(24, 40, 113); /* oklch */ color: oklch(31.6% 0.127 268.4);
Tailwind
colors: {
custom: {
50: '#64619b',
500: '#182871',
950: '#000000',
},
}SCSS
$custom: #182871; $custom-light: #64619b; $custom-dark: #000000;
JSON
{
"hex": "#182871",
"rgb": {
"r": 24,
"g": 40,
"b": 113
},
"hsl": {
"h": 229.213,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.31583,
"c": 0.12717,
"h": 268.4
},
"luminance": 0.02904
}Semantic roles & 50–950 ramp
primary
#182871
secondary
#A6943E
accent
#CA40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E