#282A2B#282A2B

#282A2B is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.3% C 0.003 H 228.9°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#282A2B
RGBrgb(40, 42, 43)
HSLhsl(200, 4%, 16%)
HSVhsv(200, 7%, 17%)
CMYKcmyk(7%, 2.3%, 0%, 83.1%)
CIE-LABlab(16.90, -0.64, -0.96)
CIE-LCHlch(16.90, 1.16, 236.23°)
OKLaboklab(28.34% -0.0022 -0.0026)
OKLCHoklch(28.34% 0.003 228.9)
XYZxyz(2.1390, 2.2814, 2.6127)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A2B #2B2928
analogous
#282B2B #282A2B #28292B
triadic
#282A2B #2B282A #2A2B28
tetradic
#282A2B #2B282B #2B2928 #292B28
square
#282A2B #2B282B #2B2928 #292B28
split-complementary
#282A2B #2B2829 #2B2B28
monochromatic
#0F0F10 #0F0F10 #282A2B #45494B #63686A

Accessibility & contrast

On white

14.42
#282A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282A2B
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A2B#FFFFFF#000000##FFFFFF
##282A2B1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2B
Deuteranopia (green-blind)
#29292B
Tritanopia (blue-blind)
#272A2A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282a2b;
/* rgb */ color: rgb(40, 42, 43);
/* oklch */ color: oklch(28.3% 0.003 228.9);
Tailwind
colors: {
  custom: {
    50: '#616364',
    500: '#282a2b',
    950: '#000000',
  },
}
SCSS
$custom: #282a2b;
$custom-light: #616364;
$custom-dark: #000000;
JSON
{
  "hex": "#282a2b",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 43
  },
  "hsl": {
    "h": 200,
    "s": 3.614,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28337,
    "c": 0.00342,
    "h": 228.9
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#282A2B
secondary
#5A5755
accent
#8C7BAD
background
#F5F5F5
surface
#E9EAEA
border
#C5C6C6
text
#050505
muted
#797979

Preview Lab

Preview with #282A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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