#282C2E#282C2E

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

Color values

HEX#282C2E
RGBrgb(40, 44, 46)
HSLhsl(200, 7%, 17%)
HSVhsv(200, 13%, 18%)
CMYKcmyk(13%, 4.3%, 0%, 82%)
CIE-LABlab(17.69, -1.25, -1.90)
CIE-LCHlch(17.69, 2.27, 236.66°)
OKLaboklab(28.99% -0.0044 -0.0051)
OKLCHoklch(28.99% 0.007 229.1)
XYZxyz(2.2688, 2.4497, 2.9375)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C2E #2E2A28
analogous
#282E2D #282C2E #28292E
triadic
#282C2E #2E282C #2C2E28
tetradic
#282C2E #2D282E #2E2A28 #292E28
square
#282C2E #2D282E #2E2A28 #292E28
split-complementary
#282C2E #2E2829 #2E2D28
monochromatic
#0E1010 #0E1010 #282C2E #444B4F #616B6F

Accessibility & contrast

On white

14.09
#282C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C2E
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C2E#FFFFFF#000000##FFFFFF
##282C2E1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2E
Deuteranopia (green-blind)
#2A2B2E
Tritanopia (blue-blind)
#262D2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282c2e;
/* rgb */ color: rgb(40, 44, 46);
/* oklch */ color: oklch(29.0% 0.007 229.1);
Tailwind
colors: {
  custom: {
    50: '#616566',
    500: '#282c2e',
    950: '#000000',
  },
}
SCSS
$custom: #282c2e;
$custom-light: #616566;
$custom-dark: #000000;
JSON
{
  "hex": "#282c2e",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 46
  },
  "hsl": {
    "h": 200,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28994,
    "c": 0.00676,
    "h": 229.1
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#282C2E
secondary
#5D5755
accent
#8B78B0
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050506
muted
#797A7A

Preview Lab

Preview with #282C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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