#282927#282927

#282927 is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 27.9% C 0.004 H 128.6°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#282927
RGBrgb(40, 41, 39)
HSLhsl(90, 3%, 16%)
HSVhsv(90, 5%, 16%)
CMYKcmyk(2.4%, 0%, 4.9%, 83.9%)
CIE-LABlab(16.42, -0.93, 1.15)
CIE-LCHlch(16.42, 1.48, 128.89°)
OKLaboklab(27.92% -0.0024 0.003)
OKLCHoklch(27.92% 0.004 128.6)
XYZxyz(2.0342, 2.1835, 2.2334)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282927 #282729
analogous
#292927 #282927 #272927
triadic
#282927 #272829 #292728
tetradic
#282927 #272929 #282729 #292727
square
#282927 #272929 #282729 #292727
split-complementary
#282927 #272729 #292729
monochromatic
#0F100F #0F100F #282927 #474845 #656863

Accessibility & contrast

On white

14.62
#282927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282927
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282927#FFFFFF#000000##FFFFFF
##2829271.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292927
Deuteranopia (green-blind)
#292927
Tritanopia (blue-blind)
#282928
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282927;
/* rgb */ color: rgb(40, 41, 39);
/* oklch */ color: oklch(27.9% 0.004 128.6);
Tailwind
colors: {
  custom: {
    50: '#616261',
    500: '#282927',
    950: '#000000',
  },
}
SCSS
$custom: #282927;
$custom-light: #616261;
$custom-dark: #000000;
JSON
{
  "hex": "#282927",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 39
  },
  "hsl": {
    "h": 90,
    "s": 2.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27916,
    "c": 0.00388,
    "h": 128.6
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#282927
secondary
#565457
accent
#7CAC94
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#050505
muted
#797979

Preview Lab

Preview with #282927

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

Preview Lab → · Contrast checker → · Palette generator →

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