#282D2D#282D2D

#282D2D is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.2% C 0.007 H 196.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#282D2D
RGBrgb(40, 45, 45)
HSLhsl(180, 6%, 17%)
HSVhsv(180, 11%, 18%)
CMYKcmyk(11.1%, 0%, 0%, 82.4%)
CIE-LABlab(18.00, -2.19, -0.75)
CIE-LCHlch(18.00, 2.31, 198.92°)
OKLaboklab(29.23% -0.0067 -0.002)
OKLCHoklch(29.23% 0.007 196.7)
XYZxyz(2.2870, 2.5173, 2.8475)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D2D #2D2828
analogous
#282D2B #282D2D #282B2D
triadic
#282D2D #2D282D #2D2D28
tetradic
#282D2D #2B282D #2D2828 #2B2D28
square
#282D2D #2B282D #2D2828 #2B2D28
split-complementary
#282D2D #2D282B #2D2B28
monochromatic
#0E1010 #0E1010 #282D2D #454D4D #626E6E

Accessibility & contrast

On white

13.97
#282D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282D2D
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D2D#FFFFFF#000000##FFFFFF
##282D2D1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2D
Deuteranopia (green-blind)
#2B2C2D
Tritanopia (blue-blind)
#272D2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282d2d;
/* rgb */ color: rgb(40, 45, 45);
/* oklch */ color: oklch(29.2% 0.007 196.7);
Tailwind
colors: {
  custom: {
    50: '#616565',
    500: '#282d2d',
    950: '#000000',
  },
}
SCSS
$custom: #282d2d;
$custom-light: #616565;
$custom-dark: #000000;
JSON
{
  "hex": "#282d2d",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 45
  },
  "hsl": {
    "h": 180,
    "s": 5.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29225,
    "c": 0.00705,
    "h": 196.7
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#282D2D
secondary
#5C5555
accent
#7979AF
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050505
muted
#797A7A

Preview Lab

Preview with #282D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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