#282A2E#282A2E

#282A2E is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.5% C 0.008 H 264.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#282A2E
RGBrgb(40, 42, 46)
HSLhsl(220, 7%, 17%)
HSVhsv(220, 13%, 18%)
CMYKcmyk(13%, 8.7%, 0%, 82%)
CIE-LABlab(17.01, 0.13, -2.91)
CIE-LCHlch(17.01, 2.91, 272.53°)
OKLaboklab(28.46% -0.0008 -0.0078)
OKLCHoklch(28.46% 0.008 264.4)
XYZxyz(2.1961, 2.3043, 2.9133)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A2E #2E2C28
analogous
#282D2E #282A2E #29282E
triadic
#282A2E #2E282A #2A2E28
tetradic
#282A2E #2E282D #2E2C28 #282E29
square
#282A2E #2E282D #2E2C28 #282E29
split-complementary
#282A2E #2E2928 #2D2E28
monochromatic
#0E0F10 #0E0F10 #282A2E #44484F #61666F

Accessibility & contrast

On white

14.38
#282A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#282A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A2E
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A2E#FFFFFF#000000##FFFFFF
##282A2E1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2E
Deuteranopia (green-blind)
#282A2E
Tritanopia (blue-blind)
#272B2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282a2e;
/* rgb */ color: rgb(40, 42, 46);
/* oklch */ color: oklch(28.5% 0.008 264.4);
Tailwind
colors: {
  custom: {
    50: '#616366',
    500: '#282a2e',
    950: '#000000',
  },
}
SCSS
$custom: #282a2e;
$custom-light: #616366;
$custom-dark: #000000;
JSON
{
  "hex": "#282a2e",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 220,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28459,
    "c": 0.00785,
    "h": 264.4
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#282A2E
secondary
#5D5A55
accent
#9D78B0
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #282A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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