#282C2A#282C2A

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

Color values

HEX#282C2A
RGBrgb(40, 44, 42)
HSLhsl(150, 5%, 16%)
HSVhsv(150, 9%, 17%)
CMYKcmyk(9.1%, 0%, 4.5%, 82.7%)
CIE-LABlab(17.55, -2.26, 0.69)
CIE-LCHlch(17.55, 2.36, 163.05°)
OKLaboklab(28.84% -0.0065 0.0018)
OKLCHoklch(28.84% 0.007 164.5)
XYZxyz(2.1936, 2.4196, 2.5415)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C2A #2C282A
analogous
#282C28 #282C2A #282C2C
triadic
#282C2A #2A282C #2C2A28
tetradic
#282C2A #28282C #2C282A #2C2C28
square
#282C2A #28282C #2C282A #2C2C28
split-complementary
#282C2A #2C282C #2C2828
monochromatic
#0F100F #0F100F #282C2A #454C49 #626C67

Accessibility & contrast

On white

14.15
#282C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C2A
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C2A#FFFFFF#000000##FFFFFF
##282C2A1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2B2A
Deuteranopia (green-blind)
#2B2B2A
Tritanopia (blue-blind)
#272C2B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282c2a;
/* rgb */ color: rgb(40, 44, 42);
/* oklch */ color: oklch(28.8% 0.007 164.5);
Tailwind
colors: {
  custom: {
    50: '#616563',
    500: '#282c2a',
    950: '#000000',
  },
}
SCSS
$custom: #282c2a;
$custom-light: #616563;
$custom-dark: #000000;
JSON
{
  "hex": "#282c2a",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 42
  },
  "hsl": {
    "h": 150,
    "s": 4.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28839,
    "c": 0.00671,
    "h": 164.5
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#282C2A
secondary
#5B5558
accent
#7A94AE
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#050505
muted
#797A79

Preview Lab

Preview with #282C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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