#282E28#282E28

#282E28 is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.3% C 0.014 H 145.2°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#282E28
RGBrgb(40, 46, 40)
HSLhsl(120, 7%, 17%)
HSVhsv(120, 13%, 18%)
CMYKcmyk(13%, 0%, 13%, 82%)
CIE-LABlab(18.18, -4.08, 2.99)
CIE-LCHlch(18.18, 5.06, 143.81°)
OKLaboklab(29.32% -0.0112 0.0078)
OKLCHoklch(29.32% 0.014 145.2)
XYZxyz(2.2350, 2.5583, 2.3831)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E28 #2E282E
analogous
#2B2E28 #282E28 #282E2B
triadic
#282E28 #28282E #2E2828
tetradic
#282E28 #282B2E #2E282E #2E2B28
square
#282E28 #282B2E #2E282E #2E2B28
split-complementary
#282E28 #2B282E #2E282B
monochromatic
#0E100E #0E100E #282E28 #444F44 #616F61

Accessibility & contrast

On white

13.89
#282E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#282E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E28
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E28#FFFFFF#000000##FFFFFF
##282E281.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D28
Deuteranopia (green-blind)
#2D2C28
Tritanopia (blue-blind)
#272E2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282e28;
/* rgb */ color: rgb(40, 46, 40);
/* oklch */ color: oklch(29.3% 0.014 145.2);
Tailwind
colors: {
  custom: {
    50: '#616661',
    500: '#282e28',
    950: '#000000',
  },
}
SCSS
$custom: #282e28;
$custom-light: #616661;
$custom-dark: #000000;
JSON
{
  "hex": "#282e28",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29316,
    "c": 0.01361,
    "h": 145.2
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#282E28
secondary
#5D555D
accent
#78B0B0
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050605
muted
#797A79

Preview Lab

Preview with #282E28

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

Preview Lab → · Contrast checker → · Palette generator →

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