#282C26#282C26

#282C26 is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.7% C 0.012 H 135.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#282C26
RGBrgb(40, 44, 38)
HSLhsl(100, 7%, 16%)
HSVhsv(100, 14%, 17%)
CMYKcmyk(9.1%, 0%, 13.6%, 82.7%)
CIE-LABlab(17.42, -3.21, 3.30)
CIE-LCHlch(17.42, 4.60, 134.20°)
OKLaboklab(28.7% -0.0086 0.0086)
OKLCHoklch(28.7% 0.012 135)
XYZxyz(2.1255, 2.3924, 2.1831)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C26 #2A262C
analogous
#2B2C26 #282C26 #262C27
triadic
#282C26 #26282C #2C2628
tetradic
#282C26 #262B2C #2A262C #2C2726
square
#282C26 #262B2C #2A262C #2C2726
split-complementary
#282C26 #27262C #2C262B
monochromatic
#0F100E #0F100E #282C26 #464D42 #646E5F

Accessibility & contrast

On white

14.20
#282C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#282C26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C26
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C26#FFFFFF#000000##FFFFFF
##282C261.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B26
Deuteranopia (green-blind)
#2C2B26
Tritanopia (blue-blind)
#282B2A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282c26;
/* rgb */ color: rgb(40, 44, 38);
/* oklch */ color: oklch(28.7% 0.012 135.0);
Tailwind
colors: {
  custom: {
    50: '#616560',
    500: '#282c26',
    950: '#000000',
  },
}
SCSS
$custom: #282c26;
$custom-light: #616560;
$custom-dark: #000000;
JSON
{
  "hex": "#282c26",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 38
  },
  "hsl": {
    "h": 100,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28698,
    "c": 0.01213,
    "h": 135
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#282C26
secondary
#58525B
accent
#77B09D
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050504
muted
#797A79

Preview Lab

Preview with #282C26

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

Preview Lab → · Contrast checker → · Palette generator →

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