#282D2C#282D2C

#282D2C is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.2% C 0.007 H 182.5°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#282D2C
RGBrgb(40, 45, 44)
HSLhsl(168, 6%, 17%)
HSVhsv(168, 11%, 18%)
CMYKcmyk(11.1%, 0%, 2.2%, 82.4%)
CIE-LABlab(17.96, -2.44, -0.10)
CIE-LCHlch(17.96, 2.44, 182.45°)
OKLaboklab(29.19% -0.0073 -0.0003)
OKLCHoklch(29.19% 0.007 182.5)
XYZxyz(2.2680, 2.5097, 2.7473)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D2C #2D2829
analogous
#282D2A #282D2C #282C2D
triadic
#282D2C #2C282D #2D2C28
tetradic
#282D2C #2A282D #2D2829 #2C2D28
square
#282D2C #2A282D #2D2829 #2C2D28
split-complementary
#282D2C #2D282C #2D2A28
monochromatic
#0E1010 #0E1010 #282D2C #454D4C #626E6B

Accessibility & contrast

On white

13.98
#282D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282D2C
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D2C#FFFFFF#000000##FFFFFF
##282D2C1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2C
Deuteranopia (green-blind)
#2B2C2C
Tritanopia (blue-blind)
#272D2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282d2c;
/* rgb */ color: rgb(40, 45, 44);
/* oklch */ color: oklch(29.2% 0.007 182.5);
Tailwind
colors: {
  custom: {
    50: '#616565',
    500: '#282d2c',
    950: '#000000',
  },
}
SCSS
$custom: #282d2c;
$custom-light: #616565;
$custom-dark: #000000;
JSON
{
  "hex": "#282d2c",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 44
  },
  "hsl": {
    "h": 168,
    "s": 5.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29186,
    "c": 0.00727,
    "h": 182.5
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#282D2C
secondary
#5C5556
accent
#7984AF
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050505
muted
#797A7A

Preview Lab

Preview with #282D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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