#282C28#282C28

#282C28 is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.8% C 0.009 H 145.3°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#282C28
RGBrgb(40, 44, 40)
HSLhsl(120, 5%, 16%)
HSVhsv(120, 9%, 17%)
CMYKcmyk(9.1%, 0%, 9.1%, 82.7%)
CIE-LABlab(17.49, -2.74, 1.99)
CIE-LCHlch(17.49, 3.39, 144.02°)
OKLaboklab(28.77% -0.0075 0.0052)
OKLCHoklch(28.77% 0.009 145.3)
XYZxyz(2.1587, 2.4057, 2.3577)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C28 #2C282C
analogous
#2A2C28 #282C28 #282C2A
triadic
#282C28 #28282C #2C2828
tetradic
#282C28 #282A2C #2C282C #2C2A28
square
#282C28 #282A2C #2C282C #2C2A28
split-complementary
#282C28 #2A282C #2C282A
monochromatic
#0F100F #0F100F #282C28 #454C45 #626C62

Accessibility & contrast

On white

14.18
#282C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#282C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C28
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C28#FFFFFF#000000##FFFFFF
##282C281.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2B28
Deuteranopia (green-blind)
#2B2B28
Tritanopia (blue-blind)
#282C2B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282c28;
/* rgb */ color: rgb(40, 44, 40);
/* oklch */ color: oklch(28.8% 0.009 145.3);
Tailwind
colors: {
  custom: {
    50: '#616561',
    500: '#282c28',
    950: '#000000',
  },
}
SCSS
$custom: #282c28;
$custom-light: #616561;
$custom-dark: #000000;
JSON
{
  "hex": "#282c28",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 4.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28767,
    "c": 0.00914,
    "h": 145.3
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#282C28
secondary
#5B555B
accent
#7AAEAE
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050505
muted
#797A79

Preview Lab

Preview with #282C28

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

Preview Lab → · Contrast checker → · Palette generator →

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