#282D28#282D28

#282D28 is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.0% C 0.011 H 145.3°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#282D28
RGBrgb(40, 45, 40)
HSLhsl(120, 6%, 17%)
HSVhsv(120, 11%, 18%)
CMYKcmyk(11.1%, 0%, 11.1%, 82.4%)
CIE-LABlab(17.83, -3.41, 2.49)
CIE-LCHlch(17.83, 4.23, 143.92°)
OKLaboklab(29.04% -0.0094 0.0065)
OKLCHoklch(29.04% 0.011 145.3)
XYZxyz(2.1964, 2.4811, 2.3703)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D28 #2D282D
analogous
#2B2D28 #282D28 #282D2B
triadic
#282D28 #28282D #2D2828
tetradic
#282D28 #282B2D #2D282D #2D2B28
square
#282D28 #282B2D #2D282D #2D2B28
split-complementary
#282D28 #2B282D #2D282B
monochromatic
#0E100E #0E100E #282D28 #454D45 #626E62

Accessibility & contrast

On white

14.04
#282D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#282D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D28
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D28#FFFFFF#000000##FFFFFF
##282D281.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2C28
Deuteranopia (green-blind)
#2C2B28
Tritanopia (blue-blind)
#282D2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282d28;
/* rgb */ color: rgb(40, 45, 40);
/* oklch */ color: oklch(29.0% 0.011 145.3);
Tailwind
colors: {
  custom: {
    50: '#616561',
    500: '#282d28',
    950: '#000000',
  },
}
SCSS
$custom: #282d28;
$custom-light: #616561;
$custom-dark: #000000;
JSON
{
  "hex": "#282d28",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 5.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29041,
    "c": 0.01139,
    "h": 145.3
  },
  "luminance": 0.02481
}

Semantic roles & 50–950 ramp

primary
#282D28
secondary
#5C555C
accent
#79AFAF
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050505
muted
#797A79

Preview Lab

Preview with #282D28

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

Preview Lab → · Contrast checker → · Palette generator →

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