#2B282D#2B282D

#2B282D is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 28.2% C 0.010 H 312.1°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#2B282D
RGBrgb(43, 40, 45)
HSLhsl(276, 6%, 17%)
HSVhsv(276, 11%, 18%)
CMYKcmyk(4.4%, 11.1%, 0%, 82.4%)
CIE-LABlab(16.60, 2.57, -2.77)
CIE-LCHlch(16.60, 3.78, 312.86°)
OKLaboklab(28.21% 0.0067 -0.0074)
OKLCHoklch(28.21% 0.01 312.1)
XYZxyz(2.2286, 2.2206, 2.7933)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B282D #2A2D28
analogous
#29282D #2B282D #2D282D
triadic
#2B282D #2D2B28 #282D2B
tetradic
#2B282D #2D2928 #2A2D28 #282D2D
square
#2B282D #2D2928 #2A2D28 #282D2D
split-complementary
#2B282D #2D2D28 #282D29
monochromatic
#0F0E10 #0F0E10 #2B282D #4A454D #69626E

Accessibility & contrast

On white

14.54
#2B282D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B282D
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B282D#FFFFFF#000000##FFFFFF
##2B282D1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b282d;
/* rgb */ color: rgb(43, 40, 45);
/* oklch */ color: oklch(28.2% 0.010 312.1);
Tailwind
colors: {
  custom: {
    50: '#646165',
    500: '#2b282d',
    950: '#000000',
  },
}
SCSS
$custom: #2b282d;
$custom-light: #646165;
$custom-dark: #000000;
JSON
{
  "hex": "#2b282d",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 45
  },
  "hsl": {
    "h": 276,
    "s": 5.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28205,
    "c": 0.00997,
    "h": 312.1
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#2B282D
secondary
#585C55
accent
#AF798E
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050505
muted
#79797A

Preview Lab

Preview with #2B282D

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

Preview Lab → · Contrast checker → · Palette generator →

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