#2D3333#2D3333

#2D3333 is a dark, near-neutral grey. Relative luminance 0.032; OKLCH L 31.5% C 0.008 H 196.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#2D3333
RGBrgb(45, 51, 51)
HSLhsl(180, 6%, 19%)
HSVhsv(180, 12%, 20%)
CMYKcmyk(11.8%, 0%, 0%, 80%)
CIE-LABlab(20.69, -2.57, -0.88)
CIE-LCHlch(20.69, 2.72, 198.88°)
OKLaboklab(31.53% -0.0079 -0.0024)
OKLCHoklch(31.53% 0.008 196.8)
XYZxyz(2.8634, 3.1645, 3.5913)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3333 #332D2D
analogous
#2D3330 #2D3333 #2D3033
triadic
#2D3333 #332D33 #33332D
tetradic
#2D3333 #302D33 #332D2D #30332D
square
#2D3333 #302D33 #332D2D #30332D
split-complementary
#2D3333 #332D30 #33302D
monochromatic
#0E1010 #101212 #2D3333 #4A5454 #667474

Accessibility & contrast

On white

12.86
#2D3333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D3333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3333
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3333#FFFFFF#000000##FFFFFF
##2D33331.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323233
Deuteranopia (green-blind)
#313133
Tritanopia (blue-blind)
#2B3333
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d3333;
/* rgb */ color: rgb(45, 51, 51);
/* oklch */ color: oklch(31.5% 0.008 196.8);
Tailwind
colors: {
  custom: {
    50: '#656a6a',
    500: '#2d3333',
    950: '#000000',
  },
}
SCSS
$custom: #2d3333;
$custom-light: #656a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3333",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 51
  },
  "hsl": {
    "h": 180,
    "s": 6.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31533,
    "c": 0.00828,
    "h": 196.8
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#2D3333
secondary
#625A5A
accent
#7878AF
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A

Preview Lab

Preview with #2D3333

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

Preview Lab → · Contrast checker → · Palette generator →

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