#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
RGBrgb(24, 40, 64)
HSLhsl(216, 45%, 17%)
HSVhsv(216, 63%, 25%)
CMYKcmyk(62.5%, 37.5%, 0%, 74.9%)
CIE-LABlab(15.91, 1.87, -17.28)
CIE-LCHlch(15.91, 17.38, 276.19°)
OKLaboklab(27.55% -0.0101 -0.0487)
OKLCHoklch(27.55% 0.05 258.3)
XYZxyz(2.0606, 2.0818, 5.1427)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##1828401.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.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

Preview Lab

Preview with #182840

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#182840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva