#282B2B#282B2B

#282B2B is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.6% C 0.004 H 196.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#282B2B
RGBrgb(40, 43, 43)
HSLhsl(180, 4%, 16%)
HSVhsv(180, 7%, 17%)
CMYKcmyk(7%, 0%, 0%, 83.1%)
CIE-LABlab(17.24, -1.33, -0.46)
CIE-LCHlch(17.24, 1.41, 199.09°)
OKLaboklab(28.61% -0.0041 -0.0012)
OKLCHoklch(28.61% 0.004 196.9)
XYZxyz(2.1749, 2.3533, 2.6247)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B2B #2B2828
analogous
#282B2A #282B2B #282A2B
triadic
#282B2B #2B282B #2B2B28
tetradic
#282B2B #2A282B #2B2828 #2A2B28
square
#282B2B #2A282B #2B2828 #2A2B28
split-complementary
#282B2B #2B282A #2B2A28
monochromatic
#0F1010 #0F1010 #282B2B #454B4B #636A6A

Accessibility & contrast

On white

14.28
#282B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#282B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B2B
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B2B#FFFFFF#000000##FFFFFF
##282B2B1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2B
Deuteranopia (green-blind)
#2A2A2B
Tritanopia (blue-blind)
#272B2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282b2b;
/* rgb */ color: rgb(40, 43, 43);
/* oklch */ color: oklch(28.6% 0.004 196.9);
Tailwind
colors: {
  custom: {
    50: '#616464',
    500: '#282b2b',
    950: '#000000',
  },
}
SCSS
$custom: #282b2b;
$custom-light: #616464;
$custom-dark: #000000;
JSON
{
  "hex": "#282b2b",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 43
  },
  "hsl": {
    "h": 180,
    "s": 3.614,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28606,
    "c": 0.0043,
    "h": 196.9
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#282B2B
secondary
#5A5555
accent
#7B7BAD
background
#F5F5F5
surface
#E9EAEA
border
#C5C6C6
text
#050505
muted
#797979

Preview Lab

Preview with #282B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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