#2F2D30#2F2D30

#2F2D30 is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.0% C 0.006 H 314.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#2F2D30
RGBrgb(47, 45, 48)
HSLhsl(280, 3%, 18%)
HSVhsv(280, 6%, 19%)
CMYKcmyk(2.1%, 6.2%, 0%, 81.2%)
CIE-LABlab(18.78, 1.60, -1.61)
CIE-LCHlch(18.78, 2.27, 314.89°)
OKLaboklab(30.04% 0.0042 -0.0043)
OKLCHoklch(30.04% 0.006 314.7)
XYZxyz(2.6441, 2.6945, 3.1765)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D30 #2E302D
analogous
#2D2D30 #2F2D30 #302D2F
triadic
#2F2D30 #302F2D #2D302F
tetradic
#2F2D30 #302D2D #2E302D #2D2F30
square
#2F2D30 #302D2D #2E302D #2D2F30
split-complementary
#2F2D30 #2F302D #2D302D
monochromatic
#0F0F10 #100F10 #2F2D30 #4E4B50 #6D686F

Accessibility & contrast

On white

13.65
#2F2D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2F2D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D30
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D30#FFFFFF#000000##FFFFFF
##2F2D301.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2d30;
/* rgb */ color: rgb(47, 45, 48);
/* oklch */ color: oklch(30.0% 0.006 314.7);
Tailwind
colors: {
  custom: {
    50: '#676568',
    500: '#2f2d30',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d30;
$custom-light: #676568;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d30",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 48
  },
  "hsl": {
    "h": 280,
    "s": 3.226,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3004,
    "c": 0.00601,
    "h": 314.7
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#2F2D30
secondary
#5C5E5A
accent
#AC7B8C
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #2F2D30

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

Preview Lab → · Contrast checker → · Palette generator →

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