#181A1E#181A1E

#181A1E is a very dark, near-neutral blue. Relative luminance 0.010; OKLCH L 21.7% C 0.008 H 264.4°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#181A1E
RGBrgb(24, 26, 30)
HSLhsl(220, 11%, 11%)
HSVhsv(220, 20%, 12%)
CMYKcmyk(20%, 13.3%, 0%, 88.2%)
CIE-LABlab(9.21, 0.17, -3.10)
CIE-LCHlch(9.21, 3.11, 273.11°)
OKLaboklab(21.74% -0.0008 -0.0084)
OKLCHoklch(21.74% 0.008 264.4)
XYZxyz(0.9804, 1.0267, 1.3746)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A1E #1E1C18
analogous
#181D1E #181A1E #19181E
triadic
#181A1E #1E181A #1A1E18
tetradic
#181A1E #1E181D #1E1C18 #181E19
square
#181A1E #1E181D #1E1C18 #181E19
split-complementary
#181A1E #1E1918 #1D1E18
monochromatic
#0E0F11 #0E0F11 #181A1E #333740 #4E5562

Accessibility & contrast

On white

17.42
#181A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181A1E
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A1E#FFFFFF#000000##FFFFFF
##181A1E1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191A1E
Deuteranopia (green-blind)
#181A1E
Tritanopia (blue-blind)
#171B1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #181a1e;
/* rgb */ color: rgb(24, 26, 30);
/* oklch */ color: oklch(21.7% 0.008 264.4);
Tailwind
colors: {
  custom: {
    50: '#545659',
    500: '#181a1e',
    950: '#000000',
  },
}
SCSS
$custom: #181a1e;
$custom-light: #545659;
$custom-dark: #000000;
JSON
{
  "hex": "#181a1e",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 30
  },
  "hsl": {
    "h": 220,
    "s": 11.111,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21739,
    "c": 0.00842,
    "h": 264.4
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#181A1E
secondary
#4F4B43
accent
#9F74B4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020303
muted
#787878

Preview Lab

Preview with #181A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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