#282D29#282D29

#282D29 is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.1% C 0.010 H 151.5°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#282D29
RGBrgb(40, 45, 41)
HSLhsl(132, 6%, 17%)
HSVhsv(132, 11%, 18%)
CMYKcmyk(11.1%, 0%, 8.9%, 82.4%)
CIE-LABlab(17.86, -3.18, 1.84)
CIE-LCHlch(17.86, 3.67, 149.95°)
OKLaboklab(29.08% -0.0088 0.0048)
OKLCHoklch(29.08% 0.01 151.5)
XYZxyz(2.2136, 2.4880, 2.4610)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D29 #2D282C
analogous
#2A2D28 #282D29 #282D2C
triadic
#282D29 #29282D #2D2928
tetradic
#282D29 #282A2D #2D282C #2D2C28
square
#282D29 #282A2D #2D282C #2D2C28
split-complementary
#282D29 #2C282D #2D282A
monochromatic
#0E100F #0E100F #282D29 #454D47 #626E64

Accessibility & contrast

On white

14.02
#282D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#282D29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D29
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D29#FFFFFF#000000##FFFFFF
##282D291.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2C29
Deuteranopia (green-blind)
#2C2B29
Tritanopia (blue-blind)
#272D2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282d29;
/* rgb */ color: rgb(40, 45, 41);
/* oklch */ color: oklch(29.1% 0.010 151.5);
Tailwind
colors: {
  custom: {
    50: '#616562',
    500: '#282d29',
    950: '#000000',
  },
}
SCSS
$custom: #282d29;
$custom-light: #616562;
$custom-dark: #000000;
JSON
{
  "hex": "#282d29",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 41
  },
  "hsl": {
    "h": 132,
    "s": 5.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29076,
    "c": 0.01005,
    "h": 151.5
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#282D29
secondary
#5C555B
accent
#79A4AF
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#050505
muted
#797A79

Preview Lab

Preview with #282D29

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

Preview Lab → · Contrast checker → · Palette generator →

#282D29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva