#282C2D#282C2D

#282C2D is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 29.0% C 0.006 H 214.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#282C2D
RGBrgb(40, 44, 45)
HSLhsl(192, 6%, 17%)
HSVhsv(192, 11%, 18%)
CMYKcmyk(11.1%, 2.2%, 0%, 82.4%)
CIE-LABlab(17.65, -1.51, -1.25)
CIE-LCHlch(17.65, 1.96, 219.73°)
OKLaboklab(28.95% -0.0049 -0.0034)
OKLCHoklch(28.95% 0.006 214.4)
XYZxyz(2.2493, 2.4419, 2.8349)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C2D #2D2928
analogous
#282D2C #282C2D #282A2D
triadic
#282C2D #2D282C #2C2D28
tetradic
#282C2D #2C282D #2D2928 #2A2D28
square
#282C2D #2C282D #2D2928 #2A2D28
split-complementary
#282C2D #2D282A #2D2C28
monochromatic
#0E1010 #0E1010 #282C2D #454C4D #626B6E

Accessibility & contrast

On white

14.11
#282C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#282C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C2D
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C2D#FFFFFF#000000##FFFFFF
##282C2D1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2D
Deuteranopia (green-blind)
#2A2B2D
Tritanopia (blue-blind)
#272C2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282c2d;
/* rgb */ color: rgb(40, 44, 45);
/* oklch */ color: oklch(29.0% 0.006 214.4);
Tailwind
colors: {
  custom: {
    50: '#616565',
    500: '#282c2d',
    950: '#000000',
  },
}
SCSS
$custom: #282c2d;
$custom-light: #616565;
$custom-dark: #000000;
JSON
{
  "hex": "#282c2d",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 45
  },
  "hsl": {
    "h": 192,
    "s": 5.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28954,
    "c": 0.00597,
    "h": 214.4
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#282C2D
secondary
#5C5655
accent
#8479AF
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050505
muted
#797A7A

Preview Lab

Preview with #282C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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