#282C29#282C29

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

Color values

HEX#282C29
RGBrgb(40, 44, 41)
HSLhsl(135, 5%, 16%)
HSVhsv(135, 9%, 17%)
CMYKcmyk(9.1%, 0%, 6.8%, 82.7%)
CIE-LABlab(17.52, -2.50, 1.34)
CIE-LCHlch(17.52, 2.84, 151.85°)
OKLaboklab(28.8% -0.007 0.0035)
OKLCHoklch(28.8% 0.008 153.4)
XYZxyz(2.1759, 2.4126, 2.4484)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C29 #2C282B
analogous
#292C28 #282C29 #282C2B
triadic
#282C29 #29282C #2C2928
tetradic
#282C29 #28292C #2C282B #2C2B28
square
#282C29 #28292C #2C282B #2C2B28
split-complementary
#282C29 #2B282C #2C2829
monochromatic
#0F100F #0F100F #282C29 #454C47 #626C65

Accessibility & contrast

On white

14.16
#282C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C29
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C29#FFFFFF#000000##FFFFFF
##282C291.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c29;
/* rgb */ color: rgb(40, 44, 41);
/* oklch */ color: oklch(28.8% 0.008 153.4);
Tailwind
colors: {
  custom: {
    50: '#616562',
    500: '#282c29',
    950: '#000000',
  },
}
SCSS
$custom: #282c29;
$custom-light: #616562;
$custom-dark: #000000;
JSON
{
  "hex": "#282c29",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 41
  },
  "hsl": {
    "h": 135,
    "s": 4.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28803,
    "c": 0.00782,
    "h": 153.4
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#282C29
secondary
#5B5559
accent
#7AA1AE
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#050505
muted
#797A79

Preview Lab

Preview with #282C29

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

Preview Lab → · Contrast checker → · Palette generator →

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