#2D282E#2D282E

#2D282E is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.5% C 0.013 H 320.6°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#2D282E
RGBrgb(45, 40, 46)
HSLhsl(290, 7%, 17%)
HSVhsv(290, 13%, 18%)
CMYKcmyk(2.2%, 13%, 0%, 82%)
CIE-LABlab(16.86, 3.70, -3.08)
CIE-LCHlch(16.86, 4.81, 320.27°)
OKLaboklab(28.47% 0.01 -0.0082)
OKLCHoklch(28.47% 0.013 320.6)
XYZxyz(2.3340, 2.2728, 2.9000)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D282E #292E28
analogous
#2A282E #2D282E #2E282C
triadic
#2D282E #2E2D28 #282E2D
tetradic
#2D282E #2E2A28 #292E28 #282C2E
square
#2D282E #2E2A28 #292E28 #282C2E
split-complementary
#2D282E #2C2E28 #282E2A
monochromatic
#100E10 #100E10 #2D282E #4D444F #6D616F

Accessibility & contrast

On white

14.44
#2D282E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2D282E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D282E
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D282E#FFFFFF#000000##FFFFFF
##2D282E1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292E
Deuteranopia (green-blind)
#282A2E
Tritanopia (blue-blind)
#2D292A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d282e;
/* rgb */ color: rgb(45, 40, 46);
/* oklch */ color: oklch(28.5% 0.013 320.6);
Tailwind
colors: {
  custom: {
    50: '#656166',
    500: '#2d282e',
    950: '#000000',
  },
}
SCSS
$custom: #2d282e;
$custom-light: #656166;
$custom-dark: #000000;
JSON
{
  "hex": "#2d282e",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 46
  },
  "hsl": {
    "h": 290,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28466,
    "c": 0.01292,
    "h": 320.6
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#2D282E
secondary
#565D55
accent
#B07881
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050506
muted
#7A797A

Preview Lab

Preview with #2D282E

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

Preview Lab → · Contrast checker → · Palette generator →

#2D282E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva