#282928#282928

#282928 is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 28.0% C 0.002 H 145.4°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#282928
RGBrgb(40, 41, 40)
HSLhsl(120, 1%, 16%)
HSVhsv(120, 2%, 16%)
CMYKcmyk(2.4%, 0%, 2.4%, 83.9%)
CIE-LABlab(16.46, -0.69, 0.50)
CIE-LCHlch(16.46, 0.85, 144.40°)
OKLaboklab(27.95% -0.0019 0.0013)
OKLCHoklch(27.95% 0.002 145.4)
XYZxyz(2.0509, 2.1902, 2.3218)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282928 #292829
analogous
#282928 #282928 #282928
triadic
#282928 #282829 #292828
tetradic
#282928 #282829 #292829 #292828
square
#282928 #282829 #292829 #292828
split-complementary
#282928 #282829 #292828
monochromatic
#0F0F0F #0F0F0F #282928 #464846 #646764

Accessibility & contrast

On white

14.60
#282928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#282928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282928
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282928#FFFFFF#000000##FFFFFF
##2829281.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292928
Deuteranopia (green-blind)
#292928
Tritanopia (blue-blind)
#282929
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282928;
/* rgb */ color: rgb(40, 41, 40);
/* oklch */ color: oklch(28.0% 0.002 145.4);
Tailwind
colors: {
  custom: {
    50: '#616261',
    500: '#282928',
    950: '#000000',
  },
}
SCSS
$custom: #282928;
$custom-light: #616261;
$custom-dark: #000000;
JSON
{
  "hex": "#282928",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 1.235,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27953,
    "c": 0.00231,
    "h": 145.4
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#282928
secondary
#575657
accent
#7DABAB
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#050505
muted
#797979

Preview Lab

Preview with #282928

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

Preview Lab → · Contrast checker → · Palette generator →

#282928 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva