#2A282D#2A282D

#2A282D is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 28.1% C 0.009 H 303.8°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#2A282D
RGBrgb(42, 40, 45)
HSLhsl(264, 6%, 17%)
HSVhsv(264, 11%, 18%)
CMYKcmyk(6.7%, 11.1%, 0%, 82.4%)
CIE-LABlab(16.50, 2.13, -2.94)
CIE-LCHlch(16.50, 3.63, 305.95°)
OKLaboklab(28.1% 0.0053 -0.0079)
OKLCHoklch(28.1% 0.009 303.8)
XYZxyz(2.1872, 2.1993, 2.7914)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A282D #2B2D28
analogous
#28292D #2A282D #2D282D
triadic
#2A282D #2D2A28 #282D2A
tetradic
#2A282D #2D2829 #2B2D28 #282D2D
square
#2A282D #2D2829 #2B2D28 #282D2D
split-complementary
#2A282D #2D2D28 #292D28
monochromatic
#0F0E10 #0F0E10 #2A282D #48454D #66626E

Accessibility & contrast

On white

14.59
#2A282D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2A282D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A282D
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A282D#FFFFFF#000000##FFFFFF
##2A282D1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292D
Deuteranopia (green-blind)
#28292D
Tritanopia (blue-blind)
#2A292A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a282d;
/* rgb */ color: rgb(42, 40, 45);
/* oklch */ color: oklch(28.1% 0.009 303.8);
Tailwind
colors: {
  custom: {
    50: '#636165',
    500: '#2a282d',
    950: '#000000',
  },
}
SCSS
$custom: #2a282d;
$custom-light: #636165;
$custom-dark: #000000;
JSON
{
  "hex": "#2a282d",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 45
  },
  "hsl": {
    "h": 264,
    "s": 5.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28097,
    "c": 0.00946,
    "h": 303.8
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#2A282D
secondary
#595C55
accent
#AF7999
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050505
muted
#79797A

Preview Lab

Preview with #2A282D

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

Preview Lab → · Contrast checker → · Palette generator →

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