#2E282E#2E282E

#2E282E is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.6% C 0.014 H 325.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#2E282E
RGBrgb(46, 40, 46)
HSLhsl(300, 7%, 17%)
HSVhsv(300, 13%, 18%)
CMYKcmyk(0%, 13%, 0%, 82%)
CIE-LABlab(16.97, 4.15, -2.90)
CIE-LCHlch(16.97, 5.06, 325.02°)
OKLaboklab(28.58% 0.0114 -0.0077)
OKLCHoklch(28.58% 0.014 325.9)
XYZxyz(2.3786, 2.2957, 2.9021)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E282E #282E28
analogous
#2B282E #2E282E #2E282B
triadic
#2E282E #2E2E28 #282E2E
tetradic
#2E282E #2E2B28 #282E28 #282B2E
square
#2E282E #2E2B28 #282E28 #282B2E
split-complementary
#2E282E #2B2E28 #282E2B
monochromatic
#100E10 #100E10 #2E282E #4F444F #6F616F

Accessibility & contrast

On white

14.39
#2E282E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2E282E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E282E
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E282E#FFFFFF#000000##FFFFFF
##2E282E1.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)
#28292E
Deuteranopia (green-blind)
#292A2E
Tritanopia (blue-blind)
#2E282A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e282e;
/* rgb */ color: rgb(46, 40, 46);
/* oklch */ color: oklch(28.6% 0.014 325.9);
Tailwind
colors: {
  custom: {
    50: '#666166',
    500: '#2e282e',
    950: '#000000',
  },
}
SCSS
$custom: #2e282e;
$custom-light: #666166;
$custom-dark: #000000;
JSON
{
  "hex": "#2e282e",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28579,
    "c": 0.01378,
    "h": 325.9
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#2E282E
secondary
#555D55
accent
#B07878
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #2E282E

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

Preview Lab → · Contrast checker → · Palette generator →

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