#282829#282829

#282829 is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.7% C 0.002 H 286.3°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#282829
RGBrgb(40, 40, 41)
HSLhsl(240, 1%, 16%)
HSVhsv(240, 2%, 16%)
CMYKcmyk(2.4%, 2.4%, 0%, 83.9%)
CIE-LABlab(16.15, 0.24, -0.66)
CIE-LCHlch(16.15, 0.70, 290.30°)
OKLaboklab(27.72% 0.0005 -0.0017)
OKLCHoklch(27.72% 0.002 286.3)
XYZxyz(2.0340, 2.1288, 2.4011)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282829 #292928
analogous
#282829 #282829 #282829
triadic
#282829 #292828 #282928
tetradic
#282829 #292828 #292928 #282928
square
#282829 #292828 #292928 #282928
split-complementary
#282829 #292828 #282928
monochromatic
#0F0F0F #0F0F0F #282829 #464648 #646467

Accessibility & contrast

On white

14.73
#282829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#282829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282829
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282829#FFFFFF#000000##FFFFFF
##2828291.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282829
Deuteranopia (green-blind)
#282829
Tritanopia (blue-blind)
#282828
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282829;
/* rgb */ color: rgb(40, 40, 41);
/* oklch */ color: oklch(27.7% 0.002 286.3);
Tailwind
colors: {
  custom: {
    50: '#616162',
    500: '#282829',
    950: '#000000',
  },
}
SCSS
$custom: #282829;
$custom-light: #616162;
$custom-dark: #000000;
JSON
{
  "hex": "#282829",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 240,
    "s": 1.235,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27724,
    "c": 0.00181,
    "h": 286.3
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#282829
secondary
#575756
accent
#AB7DAB
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#050505
muted
#797979

Preview Lab

Preview with #282829

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

Preview Lab → · Contrast checker → · Palette generator →

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