#2F2D34#2F2D34

#2F2D34 is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.2% C 0.013 H 298.7°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#2F2D34
RGBrgb(47, 45, 52)
HSLhsl(257, 7%, 19%)
HSVhsv(257, 13%, 20%)
CMYKcmyk(9.6%, 13.5%, 0%, 79.6%)
CIE-LABlab(18.92, 2.60, -4.16)
CIE-LCHlch(18.92, 4.91, 301.96°)
OKLaboklab(30.2% 0.0061 -0.0112)
OKLCHoklch(30.2% 0.013 298.7)
XYZxyz(2.7304, 2.7290, 3.6311)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D34 #32342D
analogous
#2D2F34 #2F2D34 #332D34
triadic
#2F2D34 #342F2D #2D342F
tetradic
#2F2D34 #342D2F #32342D #2D3433
square
#2F2D34 #342D2F #32342D #2D3433
split-complementary
#2F2D34 #34332D #2F342D
monochromatic
#0F0E10 #111113 #2F2D34 #4D4955 #6A6676

Accessibility & contrast

On white

13.59
#2F2D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2F2D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D34
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D34#FFFFFF#000000##FFFFFF
##2F2D341.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2d34;
/* rgb */ color: rgb(47, 45, 52);
/* oklch */ color: oklch(30.2% 0.013 298.7);
Tailwind
colors: {
  custom: {
    50: '#67656b',
    500: '#2f2d34',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d34;
$custom-light: #67656b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d34",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 52
  },
  "hsl": {
    "h": 257.143,
    "s": 7.216,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30204,
    "c": 0.01275,
    "h": 298.7
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#2F2D34
secondary
#60635A
accent
#B078A0
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #2F2D34

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

Preview Lab → · Contrast checker → · Palette generator →

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