#282B2C#282B2C

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

Color values

HEX#282B2C
RGBrgb(40, 43, 44)
HSLhsl(195, 5%, 16%)
HSVhsv(195, 9%, 17%)
CMYKcmyk(9.1%, 2.3%, 0%, 82.7%)
CIE-LABlab(17.28, -1.08, -1.11)
CIE-LCHlch(17.28, 1.55, 225.80°)
OKLaboklab(28.65% -0.0036 -0.003)
OKLCHoklch(28.65% 0.005 219.6)
XYZxyz(2.1935, 2.3607, 2.7225)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B2C #2C2928
analogous
#282C2B #282B2C #28292C
triadic
#282B2C #2C282B #2B2C28
tetradic
#282B2C #2B282C #2C2928 #292C28
square
#282B2C #2B282C #2C2928 #292C28
split-complementary
#282B2C #2C2829 #2C2B28
monochromatic
#0F1010 #0F1010 #282B2C #454A4C #626A6C

Accessibility & contrast

On white

14.26
#282B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282B2C
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B2C#FFFFFF#000000##FFFFFF
##282B2C1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282b2c;
/* rgb */ color: rgb(40, 43, 44);
/* oklch */ color: oklch(28.6% 0.005 219.6);
Tailwind
colors: {
  custom: {
    50: '#616465',
    500: '#282b2c',
    950: '#000000',
  },
}
SCSS
$custom: #282b2c;
$custom-light: #616465;
$custom-dark: #000000;
JSON
{
  "hex": "#282b2c",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 44
  },
  "hsl": {
    "h": 195,
    "s": 4.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28645,
    "c": 0.00467,
    "h": 219.6
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#282B2C
secondary
#5B5655
accent
#877AAE
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#050505
muted
#79797A

Preview Lab

Preview with #282B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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