#282E2C#282E2C

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

Color values

HEX#282E2C
RGBrgb(40, 46, 44)
HSLhsl(160, 7%, 17%)
HSVhsv(160, 13%, 18%)
CMYKcmyk(13%, 0%, 4.3%, 82%)
CIE-LABlab(18.31, -3.12, 0.40)
CIE-LCHlch(18.31, 3.14, 172.72°)
OKLaboklab(29.46% -0.0091 0.001)
OKLCHoklch(29.46% 0.009 173.6)
XYZxyz(2.3066, 2.5869, 2.7602)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E2C #2E282A
analogous
#282E29 #282E2C #282D2E
triadic
#282E2C #2C282E #2E2C28
tetradic
#282E2C #29282E #2E282A #2D2E28
square
#282E2C #29282E #2E282A #2D2E28
split-complementary
#282E2C #2E282D #2E2928
monochromatic
#0E1010 #0E1010 #282E2C #444F4B #616F6B

Accessibility & contrast

On white

13.84
#282E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E2C
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E2C#FFFFFF#000000##FFFFFF
##282E2C1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D2C
Deuteranopia (green-blind)
#2C2C2C
Tritanopia (blue-blind)
#272E2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282e2c;
/* rgb */ color: rgb(40, 46, 44);
/* oklch */ color: oklch(29.5% 0.009 173.6);
Tailwind
colors: {
  custom: {
    50: '#616665',
    500: '#282e2c',
    950: '#000000',
  },
}
SCSS
$custom: #282e2c;
$custom-light: #616665;
$custom-dark: #000000;
JSON
{
  "hex": "#282e2c",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 44
  },
  "hsl": {
    "h": 160,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29459,
    "c": 0.00913,
    "h": 173.6
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#282E2C
secondary
#5D5557
accent
#788BB0
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050605
muted
#797A7A

Preview Lab

Preview with #282E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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