#2F302A#2F302A

#2F302A is a dark, near-neutral grey. Relative luminance 0.029; OKLCH L 30.6% C 0.011 H 114.7°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#2F302A
RGBrgb(47, 48, 42)
HSLhsl(70, 7%, 18%)
HSVhsv(70, 13%, 19%)
CMYKcmyk(2.1%, 0%, 12.5%, 81.2%)
CIE-LABlab(19.58, -1.80, 3.69)
CIE-LCHlch(19.58, 4.11, 115.96°)
OKLaboklab(30.61% -0.0044 0.0096)
OKLCHoklch(30.61% 0.011 114.7)
XYZxyz(2.6471, 2.8854, 2.6075)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F302A #2B2A30
analogous
#302E2A #2F302A #2C302A
triadic
#2F302A #2A2F30 #302A2F
tetradic
#2F302A #2A302E #2B2A30 #302A2C
square
#2F302A #2A302E #2B2A30 #302A2C
split-complementary
#2F302A #2A2C30 #2E2A30
monochromatic
#10100E #10100E #2F302A #4F5147 #6F7163

Accessibility & contrast

On white

13.32
#2F302A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F302A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F302A#FFFFFF#000000##FFFFFF
##2F302A1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312F2A
Deuteranopia (green-blind)
#312F2A
Tritanopia (blue-blind)
#302F2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f302a;
/* rgb */ color: rgb(47, 48, 42);
/* oklch */ color: oklch(30.6% 0.011 114.7);
Tailwind
colors: {
  custom: {
    50: '#676863',
    500: '#2f302a',
    950: '#000000',
  },
}
SCSS
$custom: #2f302a;
$custom-light: #676863;
$custom-dark: #000000;
JSON
{
  "hex": "#2f302a",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 42
  },
  "hsl": {
    "h": 70,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30606,
    "c": 0.01059,
    "h": 114.7
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#2F302A
secondary
#58575F
accent
#78B081
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2F302A

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

Preview Lab → · Contrast checker → · Palette generator →

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