#2B2F2F#2B2F2F

#2B2F2F is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.1% C 0.006 H 196.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#2B2F2F
RGBrgb(43, 47, 47)
HSLhsl(180, 4%, 18%)
HSVhsv(180, 9%, 18%)
CMYKcmyk(8.5%, 0%, 0%, 81.6%)
CIE-LABlab(19.02, -1.75, -0.60)
CIE-LCHlch(19.02, 1.85, 199.05°)
OKLaboklab(30.13% -0.0054 -0.0016)
OKLCHoklch(30.13% 0.006 196.8)
XYZxyz(2.5258, 2.7518, 3.0869)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F2F #2F2B2B
analogous
#2B2F2D #2B2F2F #2B2D2F
triadic
#2B2F2F #2F2B2F #2F2F2B
tetradic
#2B2F2F #2D2B2F #2F2B2B #2D2F2B
square
#2B2F2F #2D2B2F #2F2B2B #2D2F2B
split-complementary
#2B2F2F #2F2B2D #2F2D2B
monochromatic
#0F1010 #0F1010 #2B2F2F #484F4F #656F6F

Accessibility & contrast

On white

13.54
#2B2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F2F
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F2F#FFFFFF#000000##FFFFFF
##2B2F2F1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2F2F
Deuteranopia (green-blind)
#2E2E2F
Tritanopia (blue-blind)
#2A2F2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b2f2f;
/* rgb */ color: rgb(43, 47, 47);
/* oklch */ color: oklch(30.1% 0.006 196.8);
Tailwind
colors: {
  custom: {
    50: '#646767',
    500: '#2b2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f2f;
$custom-light: #646767;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f2f",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 180,
    "s": 4.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30125,
    "c": 0.00563,
    "h": 196.8
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#2B2F2F
secondary
#5E5858
accent
#7A7AAE
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #2B2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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