#282C2C#282C2C

#282C2C is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.9% C 0.006 H 196.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#282C2C
RGBrgb(40, 44, 44)
HSLhsl(180, 5%, 16%)
HSVhsv(180, 9%, 17%)
CMYKcmyk(9.1%, 0%, 0%, 82.7%)
CIE-LABlab(17.62, -1.76, -0.61)
CIE-LCHlch(17.62, 1.86, 199.00°)
OKLaboklab(28.92% -0.0054 -0.0016)
OKLCHoklch(28.92% 0.006 196.9)
XYZxyz(2.2303, 2.4343, 2.7347)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C2C #2C2828
analogous
#282C2A #282C2C #282A2C
triadic
#282C2C #2C282C #2C2C28
tetradic
#282C2C #2A282C #2C2828 #2A2C28
square
#282C2C #2A282C #2C2828 #2A2C28
split-complementary
#282C2C #2C282A #2C2A28
monochromatic
#0F1010 #0F1010 #282C2C #454C4C #626C6C

Accessibility & contrast

On white

14.12
#282C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#282C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C2C
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C2C#FFFFFF#000000##FFFFFF
##282C2C1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2C
Deuteranopia (green-blind)
#2B2B2C
Tritanopia (blue-blind)
#272C2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282c2c;
/* rgb */ color: rgb(40, 44, 44);
/* oklch */ color: oklch(28.9% 0.006 196.9);
Tailwind
colors: {
  custom: {
    50: '#616565',
    500: '#282c2c',
    950: '#000000',
  },
}
SCSS
$custom: #282c2c;
$custom-light: #616565;
$custom-dark: #000000;
JSON
{
  "hex": "#282c2c",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 44
  },
  "hsl": {
    "h": 180,
    "s": 4.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28915,
    "c": 0.00568,
    "h": 196.9
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#282C2C
secondary
#5B5555
accent
#7A7AAE
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050505
muted
#797A7A

Preview Lab

Preview with #282C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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