#2F302E#2F302E

#2F302E is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.7% C 0.004 H 128.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#2F302E
RGBrgb(47, 48, 46)
HSLhsl(90, 2%, 18%)
HSVhsv(90, 4%, 19%)
CMYKcmyk(2.1%, 0%, 4.2%, 81.2%)
CIE-LABlab(19.70, -0.91, 1.13)
CIE-LCHlch(19.70, 1.45, 128.93°)
OKLaboklab(30.74% -0.0024 0.003)
OKLCHoklch(30.74% 0.004 128.6)
XYZxyz(2.7223, 2.9155, 3.0036)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F302E #2F2E30
analogous
#30302E #2F302E #2E302E
triadic
#2F302E #2E2F30 #302E2F
tetradic
#2F302E #2E3030 #2F2E30 #302E2E
square
#2F302E #2E3030 #2F2E30 #302E2E
split-complementary
#2F302E #2E2E30 #302E30
monochromatic
#0F100F #101110 #2F302E #4E4F4C #6C6F6A

Accessibility & contrast

On white

13.27
#2F302E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2F302E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F302E
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F302E#FFFFFF#000000##FFFFFF
##2F302E1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30302E
Deuteranopia (green-blind)
#30302E
Tritanopia (blue-blind)
#2F302F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f302e;
/* rgb */ color: rgb(47, 48, 46);
/* oklch */ color: oklch(30.7% 0.004 128.6);
Tailwind
colors: {
  custom: {
    50: '#676866',
    500: '#2f302e',
    950: '#000000',
  },
}
SCSS
$custom: #2f302e;
$custom-light: #676866;
$custom-dark: #000000;
JSON
{
  "hex": "#2f302e",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 46
  },
  "hsl": {
    "h": 90,
    "s": 2.128,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30744,
    "c": 0.00379,
    "h": 128.6
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#2F302E
secondary
#5D5C5E
accent
#7CAB94
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F302E

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

Preview Lab → · Contrast checker → · Palette generator →

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