#282A26#282A26

#282A26 is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 28.2% C 0.008 H 128.8°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#282A26
RGBrgb(40, 42, 38)
HSLhsl(90, 5%, 16%)
HSVhsv(90, 10%, 16%)
CMYKcmyk(4.8%, 0%, 9.5%, 83.5%)
CIE-LABlab(16.73, -1.85, 2.31)
CIE-LCHlch(16.73, 2.96, 128.75°)
OKLaboklab(28.15% -0.0048 0.006)
OKLCHoklch(28.15% 0.008 128.8)
XYZxyz(2.0528, 2.2470, 2.1589)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A26 #28262A
analogous
#2A2A26 #282A26 #262A26
triadic
#282A26 #26282A #2A2628
tetradic
#282A26 #262A2A #28262A #2A2626
square
#282A26 #262A2A #28262A #2A2626
split-complementary
#282A26 #26262A #2A262A
monochromatic
#0F100F #0F100F #282A26 #474A43 #656A60

Accessibility & contrast

On white

14.49
#282A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#282A26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A26
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A26#FFFFFF#000000##FFFFFF
##282A261.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2926
Deuteranopia (green-blind)
#2A2926
Tritanopia (blue-blind)
#282A29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #282a26;
/* rgb */ color: rgb(40, 42, 38);
/* oklch */ color: oklch(28.2% 0.008 128.8);
Tailwind
colors: {
  custom: {
    50: '#616360',
    500: '#282a26',
    950: '#000000',
  },
}
SCSS
$custom: #282a26;
$custom-light: #616360;
$custom-dark: #000000;
JSON
{
  "hex": "#282a26",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 38
  },
  "hsl": {
    "h": 90,
    "s": 5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28151,
    "c": 0.00772,
    "h": 128.8
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#282A26
secondary
#565359
accent
#7AAE94
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#050504
muted
#797979

Preview Lab

Preview with #282A26

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

Preview Lab → · Contrast checker → · Palette generator →

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