#282E2D#282E2D

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

Color values

HEX#282E2D
RGBrgb(40, 46, 45)
HSLhsl(170, 7%, 17%)
HSVhsv(170, 13%, 18%)
CMYKcmyk(13%, 0%, 2.2%, 82%)
CIE-LABlab(18.34, -2.86, -0.25)
CIE-LCHlch(18.34, 2.87, 184.92°)
OKLaboklab(29.5% -0.0086 -0.0007)
OKLCHoklch(29.5% 0.009 184.7)
XYZxyz(2.3256, 2.5945, 2.8604)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E2D #2E2829
analogous
#282E2A #282E2D #282C2E
triadic
#282E2D #2D282E #2E2D28
tetradic
#282E2D #2A282E #2E2829 #2C2E28
square
#282E2D #2A282E #2E2829 #2C2E28
split-complementary
#282E2D #2E282C #2E2A28
monochromatic
#0E1010 #0E1010 #282E2D #444F4D #616F6D

Accessibility & contrast

On white

13.82
#282E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E2D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E2D#FFFFFF#000000##FFFFFF
##282E2D1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2D
Deuteranopia (green-blind)
#2C2C2D
Tritanopia (blue-blind)
#272E2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282e2d;
/* rgb */ color: rgb(40, 46, 45);
/* oklch */ color: oklch(29.5% 0.009 184.7);
Tailwind
colors: {
  custom: {
    50: '#616665',
    500: '#282e2d',
    950: '#000000',
  },
}
SCSS
$custom: #282e2d;
$custom-light: #616665;
$custom-dark: #000000;
JSON
{
  "hex": "#282e2d",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 45
  },
  "hsl": {
    "h": 170,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29497,
    "c": 0.00859,
    "h": 184.7
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#282E2D
secondary
#5D5556
accent
#7881B0
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050605
muted
#797A7A

Preview Lab

Preview with #282E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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