#282E2A#282E2A

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

Color values

HEX#282E2A
RGBrgb(40, 46, 42)
HSLhsl(140, 7%, 17%)
HSVhsv(140, 13%, 18%)
CMYKcmyk(13%, 0%, 8.7%, 82%)
CIE-LABlab(18.24, -3.61, 1.69)
CIE-LCHlch(18.24, 3.98, 154.89°)
OKLaboklab(29.39% -0.0101 0.0044)
OKLCHoklch(29.39% 0.011 156.5)
XYZxyz(2.2699, 2.5722, 2.5669)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E2A #2E282C
analogous
#292E28 #282E2A #282E2D
triadic
#282E2A #2A282E #2E2A28
tetradic
#282E2A #28292E #2E282C #2E2D28
square
#282E2A #28292E #2E282C #2E2D28
split-complementary
#282E2A #2D282E #2E2829
monochromatic
#0E100F #0E100F #282E2A #444F48 #616F66

Accessibility & contrast

On white

13.87
#282E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E2A
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E2A#FFFFFF#000000##FFFFFF
##282E2A1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282e2a;
/* rgb */ color: rgb(40, 46, 42);
/* oklch */ color: oklch(29.4% 0.011 156.5);
Tailwind
colors: {
  custom: {
    50: '#616663',
    500: '#282e2a',
    950: '#000000',
  },
}
SCSS
$custom: #282e2a;
$custom-light: #616663;
$custom-dark: #000000;
JSON
{
  "hex": "#282e2a",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 140,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29386,
    "c": 0.01104,
    "h": 156.5
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#282E2A
secondary
#5D555A
accent
#789DB0
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#050605
muted
#797A79

Preview Lab

Preview with #282E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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