#182840#182840
#182840 is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.6% C 0.050 H 258.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).
Color values
| HEX | #182840 |
|---|---|
| RGB | rgb(24, 40, 64) |
| HSL | hsl(216, 45%, 17%) |
| HSV | hsv(216, 63%, 25%) |
| CMYK | cmyk(62.5%, 37.5%, 0%, 74.9%) |
| CIE-LAB | lab(15.91, 1.87, -17.28) |
| CIE-LCH | lch(15.91, 17.38, 276.19°) |
| OKLab | oklab(27.55% -0.0101 -0.0487) |
| OKLCH | oklch(27.55% 0.05 258.3) |
| XYZ | xyz(2.0606, 2.0818, 5.1427) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.33
Dark
#1B2431
ΔE00 5.02
Marine
#042E60
ΔE00 6.89
Navy (survey)
#01153E
ΔE00 8.09
Marine Blue
#01386A
ΔE00 8.77
Dark Blue Grey
#1F3B4D
ΔE00 9.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182840 #403018
analogous
#183C40 #182840 #1C1840
triadic
#182840 #401828 #284018
tetradic
#182840 #40183C #403018 #18401C
square
#182840 #40183C #403018 #18401C
split-complementary
#182840 #401C18 #3C4018
monochromatic
#080E16 #080E16 #182840 #29446D #396099
Accessibility & contrast
On white
14.83
#182840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#182840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182840
14.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182840 | 1.00 | 14.83 | 1.42 | 14.83 |
| #FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2A41
Deuteranopia (green-blind)
#19263F
Tritanopia (blue-blind)
#022D31
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #182840; /* rgb */ color: rgb(24, 40, 64); /* oklch */ color: oklch(27.6% 0.050 258.3);
Tailwind
colors: {
custom: {
50: '#586175',
500: '#182840',
950: '#000000',
},
}SCSS
$custom: #182840; $custom-light: #586175; $custom-dark: #000000;
JSON
{
"hex": "#182840",
"rgb": {
"r": 24,
"g": 40,
"b": 64
},
"hsl": {
"h": 216,
"s": 45.455,
"l": 17.255
},
"oklch": {
"l": 0.27554,
"c": 0.04976,
"h": 258.3
},
"luminance": 0.02082
}Semantic roles & 50–950 ramp
primary
#182840
secondary
#77603D
accent
#A153D5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B