#24282A#24282A

#24282A is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.4% C 0.007 H 229.1°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#24282A
RGBrgb(36, 40, 42)
HSLhsl(200, 8%, 15%)
HSVhsv(200, 14%, 16%)
CMYKcmyk(14.3%, 4.8%, 0%, 83.5%)
CIE-LABlab(15.80, -1.26, -1.92)
CIE-LCHlch(15.80, 2.30, 236.74°)
OKLaboklab(27.36% -0.0045 -0.0052)
OKLCHoklch(27.36% 0.007 229.1)
XYZxyz(1.9042, 2.0598, 2.4873)
Luminance0.0206 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24282A #2A2624
analogous
#242A29 #24282A #24252A
triadic
#24282A #2A2428 #282A24
tetradic
#24282A #29242A #2A2624 #252A24
square
#24282A #29242A #2A2624 #252A24
split-complementary
#24282A #2A2425 #2A2924
monochromatic
#0E1010 #0E1010 #24282A #40474B #5C676C

Accessibility & contrast

On white

14.87
#24282A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#24282A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24282A
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24282A#FFFFFF#000000##FFFFFF
##24282A1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282A
Deuteranopia (green-blind)
#26272A
Tritanopia (blue-blind)
#222929
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #24282a;
/* rgb */ color: rgb(36, 40, 42);
/* oklch */ color: oklch(27.4% 0.007 229.1);
Tailwind
colors: {
  custom: {
    50: '#5e6163',
    500: '#24282a',
    950: '#000000',
  },
}
SCSS
$custom: #24282a;
$custom-light: #5e6163;
$custom-dark: #000000;
JSON
{
  "hex": "#24282a",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 42
  },
  "hsl": {
    "h": 200,
    "s": 7.692,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27363,
    "c": 0.00686,
    "h": 229.1
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#24282A
secondary
#595350
accent
#8A77B1
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040505
muted
#797979

Preview Lab

Preview with #24282A

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

Preview Lab → · Contrast checker → · Palette generator →

#24282A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva