#282E2B#282E2B

#282E2B is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.4% C 0.010 H 164.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#282E2B
RGBrgb(40, 46, 43)
HSLhsl(150, 7%, 17%)
HSVhsv(150, 13%, 18%)
CMYKcmyk(13%, 0%, 6.5%, 82%)
CIE-LABlab(18.27, -3.36, 1.04)
CIE-LCHlch(18.27, 3.52, 162.76°)
OKLaboklab(29.42% -0.0096 0.0027)
OKLCHoklch(29.42% 0.01 164.2)
XYZxyz(2.2880, 2.5795, 2.6624)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E2B #2E282B
analogous
#282E28 #282E2B #282E2E
triadic
#282E2B #2B282E #2E2B28
tetradic
#282E2B #28282E #2E282B #2E2E28
square
#282E2B #28282E #2E282B #2E2E28
split-complementary
#282E2B #2E282E #2E2828
monochromatic
#0E100F #0E100F #282E2B #444F4A #616F68

Accessibility & contrast

On white

13.85
#282E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E2B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E2B#FFFFFF#000000##FFFFFF
##282E2B1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282e2b;
/* rgb */ color: rgb(40, 46, 43);
/* oklch */ color: oklch(29.4% 0.010 164.2);
Tailwind
colors: {
  custom: {
    50: '#616664',
    500: '#282e2b',
    950: '#000000',
  },
}
SCSS
$custom: #282e2b;
$custom-light: #616664;
$custom-dark: #000000;
JSON
{
  "hex": "#282e2b",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 150,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29422,
    "c": 0.00998,
    "h": 164.2
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#282E2B
secondary
#5D5559
accent
#7894B0
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#050605
muted
#797A79

Preview Lab

Preview with #282E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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