#282E2E#282E2E

#282E2E is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.5% C 0.008 H 196.7°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#282E2E
RGBrgb(40, 46, 46)
HSLhsl(180, 7%, 17%)
HSVhsv(180, 13%, 18%)
CMYKcmyk(13%, 0%, 0%, 82%)
CIE-LABlab(18.38, -2.61, -0.89)
CIE-LCHlch(18.38, 2.76, 198.84°)
OKLaboklab(29.54% -0.008 -0.0024)
OKLCHoklch(29.54% 0.008 196.7)
XYZxyz(2.3451, 2.6023, 2.9630)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E2E #2E2828
analogous
#282E2B #282E2E #282B2E
triadic
#282E2E #2E282E #2E2E28
tetradic
#282E2E #2B282E #2E2828 #2B2E28
square
#282E2E #2B282E #2E2828 #2B2E28
split-complementary
#282E2E #2E282B #2E2B28
monochromatic
#0E1010 #0E1010 #282E2E #444F4F #616F6F

Accessibility & contrast

On white

13.81
#282E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#282E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E2E
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E2E#FFFFFF#000000##FFFFFF
##282E2E1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2E
Deuteranopia (green-blind)
#2C2C2E
Tritanopia (blue-blind)
#262E2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282e2e;
/* rgb */ color: rgb(40, 46, 46);
/* oklch */ color: oklch(29.5% 0.008 196.7);
Tailwind
colors: {
  custom: {
    50: '#616666',
    500: '#282e2e',
    950: '#000000',
  },
}
SCSS
$custom: #282e2e;
$custom-light: #616666;
$custom-dark: #000000;
JSON
{
  "hex": "#282e2e",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 180,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29535,
    "c": 0.0084,
    "h": 196.7
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#282E2E
secondary
#5D5555
accent
#7878B0
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #282E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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