#2F2B2F#2F2B2F

#2F2B2F is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.5% C 0.009 H 325.8°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#2F2B2F
RGBrgb(47, 43, 47)
HSLhsl(300, 4%, 18%)
HSVhsv(300, 9%, 18%)
CMYKcmyk(0%, 8.5%, 0%, 81.6%)
CIE-LABlab(18.09, 2.74, -1.93)
CIE-LCHlch(18.09, 3.35, 324.83°)
OKLaboklab(29.49% 0.0075 -0.0051)
OKLCHoklch(29.49% 0.009 325.8)
XYZxyz(2.5492, 2.5373, 3.0442)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B2F #2B2F2B
analogous
#2D2B2F #2F2B2F #2F2B2D
triadic
#2F2B2F #2F2F2B #2B2F2F
tetradic
#2F2B2F #2F2D2B #2B2F2B #2B2D2F
square
#2F2B2F #2F2D2B #2B2F2B #2B2D2F
split-complementary
#2F2B2F #2D2F2B #2B2F2D
monochromatic
#100F10 #100F10 #2F2B2F #4F484F #6F656F

Accessibility & contrast

On white

13.93
#2F2B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2F2B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B2F
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B2F#FFFFFF#000000##FFFFFF
##2F2B2F1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2F
Deuteranopia (green-blind)
#2C2C2F
Tritanopia (blue-blind)
#2F2B2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2b2f;
/* rgb */ color: rgb(47, 43, 47);
/* oklch */ color: oklch(29.5% 0.009 325.8);
Tailwind
colors: {
  custom: {
    50: '#676467',
    500: '#2f2b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b2f;
$custom-light: #676467;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b2f",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 4.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29489,
    "c": 0.00911,
    "h": 325.8
  },
  "luminance": 0.02537
}

Semantic roles & 50–950 ramp

primary
#2F2B2F
secondary
#585E58
accent
#AE7A7A
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #2F2B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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