#282A2D#282A2D

#282A2D is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.4% C 0.006 H 258.3°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#282A2D
RGBrgb(40, 42, 45)
HSLhsl(216, 6%, 17%)
HSVhsv(216, 11%, 18%)
CMYKcmyk(11.1%, 6.7%, 0%, 82.4%)
CIE-LABlab(16.97, -0.13, -2.26)
CIE-LCHlch(16.97, 2.26, 266.61°)
OKLaboklab(28.42% -0.0012 -0.0061)
OKLCHoklch(28.42% 0.006 258.3)
XYZxyz(2.1766, 2.2965, 2.8107)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A2D #2D2B28
analogous
#282D2D #282A2D #29282D
triadic
#282A2D #2D282A #2A2D28
tetradic
#282A2D #2D282D #2D2B28 #282D29
square
#282A2D #2D282D #2D2B28 #282D29
split-complementary
#282A2D #2D2928 #2D2D28
monochromatic
#0E0F10 #0E0F10 #282A2D #45484D #62666E

Accessibility & contrast

On white

14.39
#282A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282A2D
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A2D#FFFFFF#000000##FFFFFF
##282A2D1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282a2d;
/* rgb */ color: rgb(40, 42, 45);
/* oklch */ color: oklch(28.4% 0.006 258.3);
Tailwind
colors: {
  custom: {
    50: '#616365',
    500: '#282a2d',
    950: '#000000',
  },
}
SCSS
$custom: #282a2d;
$custom-light: #616365;
$custom-dark: #000000;
JSON
{
  "hex": "#282a2d",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 216,
    "s": 5.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28418,
    "c": 0.00619,
    "h": 258.3
  },
  "luminance": 0.02297
}

Semantic roles & 50–950 ramp

primary
#282A2D
secondary
#5C5955
accent
#9979AF
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#050505
muted
#79797A

Preview Lab

Preview with #282A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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