#242829#242829

#242829 is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.3% C 0.006 H 214.4°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#242829
RGBrgb(36, 40, 41)
HSLhsl(192, 6%, 15%)
HSVhsv(192, 12%, 16%)
CMYKcmyk(12.2%, 2.4%, 0%, 83.9%)
CIE-LABlab(15.76, -1.53, -1.27)
CIE-LCHlch(15.76, 1.99, 219.77°)
OKLaboklab(27.32% -0.005 -0.0034)
OKLCHoklch(27.32% 0.006 214.4)
XYZxyz(1.8865, 2.0527, 2.3942)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242829 #292524
analogous
#242927 #242829 #242529
triadic
#242829 #292428 #282924
tetradic
#242829 #272429 #292524 #252924
square
#242829 #272429 #292524 #252924
split-complementary
#242829 #292425 #292724
monochromatic
#0E1010 #0E1010 #242829 #41484A #5D686A

Accessibility & contrast

On white

14.89
#242829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#242829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242829
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242829#FFFFFF#000000##FFFFFF
##2428291.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272829
Deuteranopia (green-blind)
#262729
Tritanopia (blue-blind)
#232828
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #242829;
/* rgb */ color: rgb(36, 40, 41);
/* oklch */ color: oklch(27.3% 0.006 214.4);
Tailwind
colors: {
  custom: {
    50: '#5e6162',
    500: '#242829',
    950: '#000000',
  },
}
SCSS
$custom: #242829;
$custom-light: #5e6162;
$custom-dark: #000000;
JSON
{
  "hex": "#242829",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 192,
    "s": 6.494,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27322,
    "c": 0.00605,
    "h": 214.4
  },
  "luminance": 0.02053
}

Semantic roles & 50–950 ramp

primary
#242829
secondary
#585251
accent
#8378B0
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040505
muted
#797979

Preview Lab

Preview with #242829

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

Preview Lab → · Contrast checker → · Palette generator →

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