#181A20#181A20

#181A20 is a very dark, near-neutral blue. Relative luminance 0.010; OKLCH L 21.8% C 0.012 H 270.8°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#181A20
RGBrgb(24, 26, 32)
HSLhsl(225, 14%, 11%)
HSVhsv(225, 25%, 13%)
CMYKcmyk(25%, 18.8%, 0%, 87.5%)
CIE-LABlab(9.30, 0.76, -4.47)
CIE-LCHlch(9.30, 4.54, 279.70°)
OKLaboklab(21.83% 0.0002 -0.0121)
OKLCHoklch(21.83% 0.012 270.8)
XYZxyz(1.0067, 1.0372, 1.5134)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A20 #201E18
analogous
#181E20 #181A20 #1A1820
triadic
#181A20 #20181A #1A2018
tetradic
#181A20 #20181E #201E18 #18201A
square
#181A20 #20181E #201E18 #18201A
split-complementary
#181A20 #201A18 #1E2018
monochromatic
#0D0E11 #0D0E11 #181A20 #323643 #4C5366

Accessibility & contrast

On white

17.39
#181A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#181A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A20
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A20#FFFFFF#000000##FFFFFF
##181A201.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181A20
Deuteranopia (green-blind)
#181A20
Tritanopia (blue-blind)
#161B1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #181a20;
/* rgb */ color: rgb(24, 26, 32);
/* oklch */ color: oklch(21.8% 0.012 270.8);
Tailwind
colors: {
  custom: {
    50: '#54565b',
    500: '#181a20',
    950: '#000000',
  },
}
SCSS
$custom: #181a20;
$custom-light: #54565b;
$custom-dark: #000000;
JSON
{
  "hex": "#181a20",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 32
  },
  "hsl": {
    "h": 225,
    "s": 14.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21835,
    "c": 0.01215,
    "h": 270.8
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#181A20
secondary
#514E43
accent
#A571B7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020304
muted
#787879

Preview Lab

Preview with #181A20

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

Preview Lab → · Contrast checker → · Palette generator →

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