#181C24#181C24

#181C24 is a very dark, near-neutral blue. Relative luminance 0.012; OKLCH L 22.6% C 0.017 H 264.2°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#181C24
RGBrgb(24, 28, 36)
HSLhsl(220, 20%, 12%)
HSVhsv(220, 33%, 14%)
CMYKcmyk(33.3%, 22.2%, 0%, 85.9%)
CIE-LABlab(10.20, 0.53, -6.08)
CIE-LCHlch(10.20, 6.11, 274.94°)
OKLaboklab(22.6% -0.0017 -0.0167)
OKLCHoklch(22.6% 0.017 264.2)
XYZxyz(1.1103, 1.1520, 1.8326)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C24 #242018
analogous
#182224 #181C24 #1A1824
triadic
#181C24 #24181C #1C2418
tetradic
#181C24 #241822 #242018 #18241A
square
#181C24 #241822 #242018 #18241A
split-complementary
#181C24 #241A18 #222418
monochromatic
#0C0E12 #0C0E12 #181C24 #303949 #49556D

Accessibility & contrast

On white

17.07
#181C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#181C24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C24
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C24#FFFFFF#000000##FFFFFF
##181C241.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191C24
Deuteranopia (green-blind)
#181B24
Tritanopia (blue-blind)
#151E1F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181c24;
/* rgb */ color: rgb(24, 28, 36);
/* oklch */ color: oklch(22.6% 0.017 264.2);
Tailwind
colors: {
  custom: {
    50: '#55575e',
    500: '#181c24',
    950: '#000000',
  },
}
SCSS
$custom: #181c24;
$custom-light: #55575e;
$custom-dark: #000000;
JSON
{
  "hex": "#181c24",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 36
  },
  "hsl": {
    "h": 220,
    "s": 20,
    "l": 11.765
  },
  "oklch": {
    "l": 0.226,
    "c": 0.01675,
    "h": 264.2
  },
  "luminance": 0.01152
}

Semantic roles & 50–950 ramp

primary
#181C24
secondary
#574F41
accent
#A16BBD
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#030304
muted
#787879

Preview Lab

Preview with #181C24

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

Preview Lab → · Contrast checker → · Palette generator →

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