#28282E#28282E

#28282E is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 27.9% C 0.011 H 285.7°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#28282E
RGBrgb(40, 40, 46)
HSLhsl(240, 7%, 17%)
HSVhsv(240, 13%, 18%)
CMYKcmyk(13%, 13%, 0%, 82%)
CIE-LABlab(16.33, 1.52, -3.91)
CIE-LCHlch(16.33, 4.20, 291.29°)
OKLaboklab(27.93% 0.003 -0.0105)
OKLCHoklch(27.93% 0.011 285.7)
XYZxyz(2.1269, 2.1659, 2.8903)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28282E #2E2E28
analogous
#282B2E #28282E #2B282E
triadic
#28282E #2E2828 #282E28
tetradic
#28282E #2E282B #2E2E28 #282E2B
square
#28282E #2E282B #2E2E28 #282E2B
split-complementary
#28282E #2E2B28 #2B2E28
monochromatic
#0E0E10 #0E0E10 #28282E #44444F #61616F

Accessibility & contrast

On white

14.65
#28282E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#28282E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28282E
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28282E#FFFFFF#000000##FFFFFF
##28282E1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292E
Deuteranopia (green-blind)
#26282E
Tritanopia (blue-blind)
#27292A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #28282e;
/* rgb */ color: rgb(40, 40, 46);
/* oklch */ color: oklch(27.9% 0.011 285.7);
Tailwind
colors: {
  custom: {
    50: '#616166',
    500: '#28282e',
    950: '#000000',
  },
}
SCSS
$custom: #28282e;
$custom-light: #616166;
$custom-dark: #000000;
JSON
{
  "hex": "#28282e",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27931,
    "c": 0.01094,
    "h": 285.7
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#28282E
secondary
#5D5D55
accent
#B078B0
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050506
muted
#79797A

Preview Lab

Preview with #28282E

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

Preview Lab → · Contrast checker → · Palette generator →

#28282E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva