#181920#181920

#181920 is a very dark, near-neutral blue. Relative luminance 0.010; OKLCH L 21.6% C 0.014 H 278.8°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#181920
RGBrgb(24, 25, 32)
HSLhsl(233, 14%, 11%)
HSVhsv(233, 25%, 13%)
CMYKcmyk(25%, 21.9%, 0%, 87.5%)
CIE-LABlab(8.94, 1.52, -5.01)
CIE-LCHlch(8.94, 5.24, 286.83°)
OKLaboklab(21.55% 0.0021 -0.0136)
OKLCHoklch(21.55% 0.014 278.8)
XYZxyz(0.9850, 0.9937, 1.5061)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181920 #201F18
analogous
#181D20 #181920 #1B1820
triadic
#181920 #201819 #192018
tetradic
#181920 #20181D #201F18 #18201B
square
#181920 #20181D #201F18 #18201B
split-complementary
#181920 #201B18 #1D2018
monochromatic
#0D0E11 #0D0E11 #181920 #323443 #4C5066

Accessibility & contrast

On white

17.52
#181920 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#181920 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181920
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181920#FFFFFF#000000##FFFFFF
##1819201.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171A20
Deuteranopia (green-blind)
#171920
Tritanopia (blue-blind)
#161A1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #181920;
/* rgb */ color: rgb(24, 25, 32);
/* oklch */ color: oklch(21.6% 0.014 278.8);
Tailwind
colors: {
  custom: {
    50: '#54555b',
    500: '#181920',
    950: '#000000',
  },
}
SCSS
$custom: #181920;
$custom-light: #54555b;
$custom-dark: #000000;
JSON
{
  "hex": "#181920",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 32
  },
  "hsl": {
    "h": 232.5,
    "s": 14.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21554,
    "c": 0.0138,
    "h": 278.8
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#181920
secondary
#514F43
accent
#AE71B7
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020304
muted
#787879

Preview Lab

Preview with #181920

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

Preview Lab → · Contrast checker → · Palette generator →

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