#2D2E2F#2D2E2F

#2D2E2F is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.1% C 0.002 H 248.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#2D2E2F
RGBrgb(45, 46, 47)
HSLhsl(210, 2%, 18%)
HSVhsv(210, 4%, 18%)
CMYKcmyk(4.3%, 2.1%, 0%, 81.6%)
CIE-LABlab(18.87, -0.20, -0.80)
CIE-LCHlch(18.87, 0.82, 255.88°)
OKLaboklab(30.06% -0.0009 -0.0021)
OKLCHoklch(30.06% 0.002 248)
XYZxyz(2.5722, 2.7171, 3.0777)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E2F #2F2E2D
analogous
#2D2F2F #2D2E2F #2D2D2F
triadic
#2D2E2F #2F2D2E #2E2F2D
tetradic
#2D2E2F #2F2D2F #2F2E2D #2D2F2D
square
#2D2E2F #2F2D2F #2F2E2D #2D2F2D
split-complementary
#2D2E2F #2F2D2D #2F2F2D
monochromatic
#0F0F10 #0F0F10 #2D2E2F #4B4D4E #696B6E

Accessibility & contrast

On white

13.61
#2D2E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2D2E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E2F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E2F#FFFFFF#000000##FFFFFF
##2D2E2F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2F
Deuteranopia (green-blind)
#2D2E2F
Tritanopia (blue-blind)
#2D2E2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2e2f;
/* rgb */ color: rgb(45, 46, 47);
/* oklch */ color: oklch(30.1% 0.002 248.0);
Tailwind
colors: {
  custom: {
    50: '#656667',
    500: '#2d2e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e2f;
$custom-light: #656667;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e2f",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 210,
    "s": 2.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30055,
    "c": 0.0023,
    "h": 248
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#2D2E2F
secondary
#5D5C5B
accent
#947CAB
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A

Preview Lab

Preview with #2D2E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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