#2F2E30#2F2E30

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

Color values

HEX#2F2E30
RGBrgb(47, 46, 48)
HSLhsl(270, 2%, 18%)
HSVhsv(270, 4%, 19%)
CMYKcmyk(2.1%, 4.2%, 0%, 81.2%)
CIE-LABlab(19.11, 0.92, -1.13)
CIE-LCHlch(19.11, 1.45, 309.23°)
OKLaboklab(30.3% 0.0024 -0.003)
OKLCHoklch(30.3% 0.004 308.3)
XYZxyz(2.6827, 2.7717, 3.1894)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E30 #2F302E
analogous
#2E2E30 #2F2E30 #302E30
triadic
#2F2E30 #302F2E #2E302F
tetradic
#2F2E30 #302E2E #2F302E #2E3030
square
#2F2E30 #302E2E #2F302E #2E3030
split-complementary
#2F2E30 #30302E #2E302E
monochromatic
#0F0F10 #101011 #2F2E30 #4E4C4F #6C6A6F

Accessibility & contrast

On white

13.51
#2F2E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E30
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E30#FFFFFF#000000##FFFFFF
##2F2E301.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2e30;
/* rgb */ color: rgb(47, 46, 48);
/* oklch */ color: oklch(30.3% 0.004 308.3);
Tailwind
colors: {
  custom: {
    50: '#676668',
    500: '#2f2e30',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e30;
$custom-light: #676668;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e30",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 48
  },
  "hsl": {
    "h": 270,
    "s": 2.128,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30298,
    "c": 0.00381,
    "h": 308.3
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#2F2E30
secondary
#5D5E5C
accent
#AB7C94
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F2E30

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

Preview Lab → · Contrast checker → · Palette generator →

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