#282C2B#282C2B

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

Color values

HEX#282C2B
RGBrgb(40, 44, 43)
HSLhsl(165, 5%, 16%)
HSVhsv(165, 9%, 17%)
CMYKcmyk(9.1%, 0%, 2.3%, 82.7%)
CIE-LABlab(17.58, -2.02, 0.04)
CIE-LCHlch(17.58, 2.02, 178.84°)
OKLaboklab(28.88% -0.006 0.0001)
OKLCHoklch(28.88% 0.006 179.2)
XYZxyz(2.2117, 2.4269, 2.6369)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C2B #2C2829
analogous
#282C29 #282C2B #282B2C
triadic
#282C2B #2B282C #2C2B28
tetradic
#282C2B #29282C #2C2829 #2B2C28
square
#282C2B #29282C #2C2829 #2B2C28
split-complementary
#282C2B #2C282B #2C2928
monochromatic
#0F1010 #0F1010 #282C2B #454C4A #626C6A

Accessibility & contrast

On white

14.14
#282C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C2B
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C2B#FFFFFF#000000##FFFFFF
##282C2B1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c2b;
/* rgb */ color: rgb(40, 44, 43);
/* oklch */ color: oklch(28.9% 0.006 179.2);
Tailwind
colors: {
  custom: {
    50: '#616564',
    500: '#282c2b',
    950: '#000000',
  },
}
SCSS
$custom: #282c2b;
$custom-light: #616564;
$custom-dark: #000000;
JSON
{
  "hex": "#282c2b",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 43
  },
  "hsl": {
    "h": 165,
    "s": 4.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28877,
    "c": 0.00595,
    "h": 179.2
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#282C2B
secondary
#5B5556
accent
#7A87AE
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#050505
muted
#797A79

Preview Lab

Preview with #282C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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