#181E2A#181E2A

#181E2A is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.5% C 0.025 H 263.9°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#181E2A
RGBrgb(24, 30, 42)
HSLhsl(220, 27%, 13%)
HSVhsv(220, 43%, 16%)
CMYKcmyk(42.9%, 28.6%, 0%, 83.5%)
CIE-LABlab(11.20, 1.04, -8.96)
CIE-LCHlch(11.20, 9.02, 276.60°)
OKLaboklab(23.48% -0.0026 -0.0248)
OKLCHoklch(23.48% 0.025 263.9)
XYZxyz(1.2588, 1.2899, 2.3727)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E2A #2A2418
analogous
#18272A #181E2A #1B182A
triadic
#181E2A #2A181E #1E2A18
tetradic
#181E2A #2A1827 #2A2418 #182A1B
square
#181E2A #2A1827 #2A2418 #182A1B
split-complementary
#181E2A #2A1B18 #272A18
monochromatic
#0B0E13 #0B0E13 #181E2A #2E3A51 #455678

Accessibility & contrast

On white

16.69
#181E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#181E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E2A
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E2A#FFFFFF#000000##FFFFFF
##181E2A1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1F2B
Deuteranopia (green-blind)
#181D2A
Tritanopia (blue-blind)
#132022
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181e2a;
/* rgb */ color: rgb(24, 30, 42);
/* oklch */ color: oklch(23.5% 0.025 263.9);
Tailwind
colors: {
  custom: {
    50: '#555963',
    500: '#181e2a',
    950: '#000000',
  },
}
SCSS
$custom: #181e2a;
$custom-light: #555963;
$custom-dark: #000000;
JSON
{
  "hex": "#181e2a",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 220,
    "s": 27.273,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23483,
    "c": 0.02493,
    "h": 263.9
  },
  "luminance": 0.0129
}

Semantic roles & 50–950 ramp

primary
#181E2A
secondary
#5E5440
accent
#A464C4
background
#F5F5F5
surface
#E8E9EA
border
#C4C5C6
text
#030305
muted
#787879

Preview Lab

Preview with #181E2A

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

Preview Lab → · Contrast checker → · Palette generator →

#181E2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva