#24262A#24262A

#24262A is a dark, near-neutral grey. Relative luminance 0.019; OKLCH L 26.8% C 0.008 H 264.5°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#24262A
RGBrgb(36, 38, 42)
HSLhsl(220, 8%, 15%)
HSVhsv(220, 14%, 16%)
CMYKcmyk(14.3%, 9.5%, 0%, 83.5%)
CIE-LABlab(15.11, 0.14, -2.95)
CIE-LCHlch(15.11, 2.95, 272.65°)
OKLaboklab(26.82% -0.0008 -0.0079)
OKLCHoklch(26.82% 0.008 264.5)
XYZxyz(1.8385, 1.9284, 2.4654)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24262A #2A2824
analogous
#24292A #24262A #25242A
triadic
#24262A #2A2426 #262A24
tetradic
#24262A #2A2429 #2A2824 #242A25
square
#24262A #2A2429 #2A2824 #242A25
split-complementary
#24262A #2A2524 #292A24
monochromatic
#0E0F10 #0E0F10 #24262A #40444B #5C626C

Accessibility & contrast

On white

15.16
#24262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#24262A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24262A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24262A#FFFFFF#000000##FFFFFF
##24262A1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25262A
Deuteranopia (green-blind)
#24262A
Tritanopia (blue-blind)
#232727
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #24262a;
/* rgb */ color: rgb(36, 38, 42);
/* oklch */ color: oklch(26.8% 0.008 264.5);
Tailwind
colors: {
  custom: {
    50: '#5e6063',
    500: '#24262a',
    950: '#000000',
  },
}
SCSS
$custom: #24262a;
$custom-light: #5e6063;
$custom-dark: #000000;
JSON
{
  "hex": "#24262a",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 220,
    "s": 7.692,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2682,
    "c": 0.00797,
    "h": 264.5
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#24262A
secondary
#595650
accent
#9E77B1
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040405
muted
#797979

Preview Lab

Preview with #24262A

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

Preview Lab → · Contrast checker → · Palette generator →

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