#2B302F#2B302F

#2B302F is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.4% C 0.007 H 182.5°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#2B302F
RGBrgb(43, 48, 47)
HSLhsl(168, 5%, 18%)
HSVhsv(168, 10%, 19%)
CMYKcmyk(10.4%, 0%, 2.1%, 81.2%)
CIE-LABlab(19.36, -2.42, -0.11)
CIE-LCHlch(19.36, 2.42, 182.49°)
OKLaboklab(30.39% -0.0072 -0.0003)
OKLCHoklch(30.39% 0.007 182.5)
XYZxyz(2.5662, 2.8327, 3.1003)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B302F #302B2C
analogous
#2B302C #2B302F #2B2E30
triadic
#2B302F #2F2B30 #302F2B
tetradic
#2B302F #2C2B30 #302B2C #2E302B
square
#2B302F #2C2B30 #302B2C #2E302B
split-complementary
#2B302F #302B2E #302C2B
monochromatic
#0E1010 #0E1010 #2B302F #48504F #65716E

Accessibility & contrast

On white

13.40
#2B302F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2B302F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B302F
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B302F#FFFFFF#000000##FFFFFF
##2B302F1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2F2F
Deuteranopia (green-blind)
#2E2F2F
Tritanopia (blue-blind)
#2A3030
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b302f;
/* rgb */ color: rgb(43, 48, 47);
/* oklch */ color: oklch(30.4% 0.007 182.5);
Tailwind
colors: {
  custom: {
    50: '#646867',
    500: '#2b302f',
    950: '#000000',
  },
}
SCSS
$custom: #2b302f;
$custom-light: #646867;
$custom-dark: #000000;
JSON
{
  "hex": "#2b302f",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 168,
    "s": 5.495,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30393,
    "c": 0.00721,
    "h": 182.5
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#2B302F
secondary
#5F5859
accent
#7984AF
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #2B302F

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

Preview Lab → · Contrast checker → · Palette generator →

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