#2F302B#2F302B

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

Color values

HEX#2F302B
RGBrgb(47, 48, 43)
HSLhsl(72, 5%, 18%)
HSVhsv(72, 10%, 19%)
CMYKcmyk(2.1%, 0%, 10.4%, 81.2%)
CIE-LABlab(19.61, -1.58, 3.05)
CIE-LCHlch(19.61, 3.44, 117.43°)
OKLaboklab(30.64% -0.0039 0.008)
OKLCHoklch(30.64% 0.009 116.1)
XYZxyz(2.6652, 2.8927, 2.7030)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F302B #2C2B30
analogous
#302E2B #2F302B #2C302B
triadic
#2F302B #2B2F30 #302B2F
tetradic
#2F302B #2B302E #2C2B30 #302B2C
square
#2F302B #2B302E #2C2B30 #302B2C
split-complementary
#2F302B #2B2C30 #2E2B30
monochromatic
#10100E #10100E #2F302B #4F5048 #6E7165

Accessibility & contrast

On white

13.30
#2F302B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F302B
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F302B#FFFFFF#000000##FFFFFF
##2F302B1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f302b;
/* rgb */ color: rgb(47, 48, 43);
/* oklch */ color: oklch(30.6% 0.009 116.1);
Tailwind
colors: {
  custom: {
    50: '#676864',
    500: '#2f302b',
    950: '#000000',
  },
}
SCSS
$custom: #2f302b;
$custom-light: #676864;
$custom-dark: #000000;
JSON
{
  "hex": "#2f302b",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 43
  },
  "hsl": {
    "h": 72,
    "s": 5.495,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3064,
    "c": 0.00886,
    "h": 116.1
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#2F302B
secondary
#59585F
accent
#79AF84
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2F302B

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

Preview Lab → · Contrast checker → · Palette generator →

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