#2D2F33#2D2F33

#2D2F33 is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.5% C 0.008 H 264.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#2D2F33
RGBrgb(45, 47, 51)
HSLhsl(220, 6%, 19%)
HSVhsv(220, 12%, 20%)
CMYKcmyk(11.8%, 7.8%, 0%, 80%)
CIE-LABlab(19.35, 0.12, -2.86)
CIE-LCHlch(19.35, 2.86, 272.41°)
OKLaboklab(30.48% -0.0007 -0.0077)
OKLCHoklch(30.48% 0.008 264.4)
XYZxyz(2.6961, 2.8299, 3.5355)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F33 #33312D
analogous
#2D3233 #2D2F33 #2E2D33
triadic
#2D2F33 #332D2F #2F332D
tetradic
#2D2F33 #332D32 #33312D #2D332E
square
#2D2F33 #332D32 #33312D #2D332E
split-complementary
#2D2F33 #332E2D #32332D
monochromatic
#0E0F10 #101112 #2D2F33 #4A4D54 #666B74

Accessibility & contrast

On white

13.41
#2D2F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2D2F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F33
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F33#FFFFFF#000000##FFFFFF
##2D2F331.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2F33
Deuteranopia (green-blind)
#2D2F33
Tritanopia (blue-blind)
#2C3030
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d2f33;
/* rgb */ color: rgb(45, 47, 51);
/* oklch */ color: oklch(30.5% 0.008 264.4);
Tailwind
colors: {
  custom: {
    50: '#65676a',
    500: '#2d2f33',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f33;
$custom-light: #65676a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f33",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 51
  },
  "hsl": {
    "h": 220,
    "s": 6.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30476,
    "c": 0.00772,
    "h": 264.4
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#2D2F33
secondary
#625F5A
accent
#9D78AF
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A

Preview Lab

Preview with #2D2F33

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

Preview Lab → · Contrast checker → · Palette generator →

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