#182971#182971
#182971 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.126 H 268.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #182971 |
|---|---|
| RGB | rgb(24, 41, 113) |
| HSL | hsl(229, 65%, 27%) |
| HSV | hsv(229, 79%, 44%) |
| CMYK | cmyk(78.8%, 63.7%, 0%, 55.7%) |
| CIE-LAB | lab(19.93, 21.18, -43.53) |
| CIE-LCH | lch(19.93, 48.41, 295.94°) |
| OKLab | oklab(31.79% -0.0042 -0.1258) |
| OKLCH | oklch(31.79% 0.126 268.1) |
| XYZ | xyz(4.1492, 2.9719, 15.9745) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.19
Marine
#042E60
ΔE00 5.41
Marine Blue
#01386A
ΔE00 7.64
Navy Blue
#1B2A4A
ΔE00 7.92
Royal
#0C1793
ΔE00 7.97
Navy Blue (survey)
#001146
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182971 #716018
analogous
#185671 #182971 #331871
triadic
#182971 #711829 #297118
tetradic
#182971 #711856 #716018 #187133
square
#182971 #711856 #716018 #187133
split-complementary
#182971 #713318 #567118
monochromatic
#050919 #0D173F #182971 #233BA3 #304FD3
Accessibility & contrast
On white
13.17
#182971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#182971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182971
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182971 | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #182971; /* rgb */ color: rgb(24, 41, 113); /* oklch */ color: oklch(31.8% 0.126 268.1);
Tailwind
colors: {
custom: {
50: '#64629a',
500: '#182971',
950: '#000000',
},
}SCSS
$custom: #182971; $custom-light: #64629a; $custom-dark: #000000;
JSON
{
"hex": "#182971",
"rgb": {
"r": 24,
"g": 41,
"b": 113
},
"hsl": {
"h": 228.539,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.31789,
"c": 0.12585,
"h": 268.1
},
"luminance": 0.02972
}Semantic roles & 50–950 ramp
primary
#182971
secondary
#A6933E
accent
#C840E8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E