#282D2E#282D2E

#282D2E is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.3% C 0.007 H 211.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#282D2E
RGBrgb(40, 45, 46)
HSLhsl(190, 7%, 17%)
HSVhsv(190, 13%, 18%)
CMYKcmyk(13%, 2.2%, 0%, 82%)
CIE-LABlab(18.03, -1.93, -1.39)
CIE-LCHlch(18.03, 2.38, 215.83°)
OKLaboklab(29.26% -0.0062 -0.0038)
OKLCHoklch(29.26% 0.007 211.1)
XYZxyz(2.3065, 2.5251, 2.9501)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D2E #2E2928
analogous
#282E2C #282D2E #282A2E
triadic
#282D2E #2E282D #2D2E28
tetradic
#282D2E #2C282E #2E2928 #2A2E28
square
#282D2E #2C282E #2E2928 #2A2E28
split-complementary
#282D2E #2E282A #2E2C28
monochromatic
#0E1010 #0E1010 #282D2E #444D4F #616D6F

Accessibility & contrast

On white

13.95
#282D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282D2E
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D2E#FFFFFF#000000##FFFFFF
##282D2E1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#2B2C2E
Tritanopia (blue-blind)
#262E2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282d2e;
/* rgb */ color: rgb(40, 45, 46);
/* oklch */ color: oklch(29.3% 0.007 211.1);
Tailwind
colors: {
  custom: {
    50: '#616566',
    500: '#282d2e',
    950: '#000000',
  },
}
SCSS
$custom: #282d2e;
$custom-light: #616566;
$custom-dark: #000000;
JSON
{
  "hex": "#282d2e",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 46
  },
  "hsl": {
    "h": 190,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29264,
    "c": 0.00729,
    "h": 211.1
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#282D2E
secondary
#5D5655
accent
#8178B0
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050506
muted
#797A7A

Preview Lab

Preview with #282D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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