#2F2E2F#2F2E2F

#2F2E2F is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.3% C 0.002 H 325.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#2F2E2F
RGBrgb(47, 46, 47)
HSLhsl(300, 1%, 18%)
HSVhsv(300, 2%, 18%)
CMYKcmyk(0%, 2.1%, 0%, 81.6%)
CIE-LABlab(19.07, 0.68, -0.48)
CIE-LCHlch(19.07, 0.83, 324.55°)
OKLaboklab(30.26% 0.0019 -0.0013)
OKLCHoklch(30.26% 0.002 325.6)
XYZxyz(2.6623, 2.7636, 3.0819)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E2F #2E2F2E
analogous
#2E2E2F #2F2E2F #2F2E2E
triadic
#2F2E2F #2F2F2E #2E2F2F
tetradic
#2F2E2F #2F2E2E #2E2F2E #2E2E2F
square
#2F2E2F #2F2E2E #2E2F2E #2E2E2F
split-complementary
#2F2E2F #2E2F2E #2E2F2E
monochromatic
#0F0F0F #101010 #2F2E2F #4E4C4E #6D6B6D

Accessibility & contrast

On white

13.52
#2F2E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E2F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E2F#FFFFFF#000000##FFFFFF
##2F2E2F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2e2f;
/* rgb */ color: rgb(47, 46, 47);
/* oklch */ color: oklch(30.3% 0.002 325.6);
Tailwind
colors: {
  custom: {
    50: '#676667',
    500: '#2f2e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e2f;
$custom-light: #676667;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e2f",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 1.075,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30259,
    "c": 0.00227,
    "h": 325.6
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#2F2E2F
secondary
#5C5D5C
accent
#AA7D7D
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F2E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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