#182972#182972
#182972 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.127 H 268.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #182972 |
|---|---|
| RGB | rgb(24, 41, 114) |
| HSL | hsl(229, 65%, 27%) |
| HSV | hsv(229, 79%, 45%) |
| CMYK | cmyk(78.9%, 64%, 0%, 55.3%) |
| CIE-LAB | lab(20.02, 21.58, -44.03) |
| CIE-LCH | lch(20.02, 49.04, 296.12°) |
| OKLab | oklab(31.89% -0.0042 -0.1272) |
| OKLCH | oklch(31.89% 0.127 268.1) |
| XYZ | xyz(4.2058, 2.9945, 16.2727) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.12
Marine
#042E60
ΔE00 5.53
Marine Blue
#01386A
ΔE00 7.70
Royal
#0C1793
ΔE00 7.82
Navy Blue
#1B2A4A
ΔE00 8.07
Darkslateblue
#483D8B
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182972 #726118
analogous
#185672 #182972 #341872
triadic
#182972 #721829 #297218
tetradic
#182972 #721856 #726118 #187234
square
#182972 #721856 #726118 #187234
split-complementary
#182972 #723418 #567218
monochromatic
#050919 #0D173F #182972 #233BA5 #3150D4
Accessibility & contrast
On white
13.13
#182972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#182972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182972
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182972 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #182972; /* rgb */ color: rgb(24, 41, 114); /* oklch */ color: oklch(31.9% 0.127 268.1);
Tailwind
colors: {
custom: {
50: '#64629b',
500: '#182972',
950: '#000000',
},
}SCSS
$custom: #182972; $custom-light: #64629b; $custom-dark: #000000;
JSON
{
"hex": "#182972",
"rgb": {
"r": 24,
"g": 41,
"b": 114
},
"hsl": {
"h": 228.667,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.31885,
"c": 0.1273,
"h": 268.1
},
"luminance": 0.02995
}Semantic roles & 50–950 ramp
primary
#182972
secondary
#A7943E
accent
#C840E8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E