#2B2F2E#2B2F2E

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

Color values

HEX#2B2F2E
RGBrgb(43, 47, 46)
HSLhsl(165, 4%, 18%)
HSVhsv(165, 9%, 18%)
CMYKcmyk(8.5%, 0%, 2.1%, 81.6%)
CIE-LABlab(18.99, -2.00, 0.04)
CIE-LCHlch(18.99, 2.00, 178.87°)
OKLaboklab(30.09% -0.0059 0.0001)
OKLCHoklch(30.09% 0.006 179.3)
XYZxyz(2.5058, 2.7439, 2.9818)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F2E #2F2B2C
analogous
#2B2F2C #2B2F2E #2B2E2F
triadic
#2B2F2E #2E2B2F #2F2E2B
tetradic
#2B2F2E #2C2B2F #2F2B2C #2E2F2B
square
#2B2F2E #2C2B2F #2F2B2C #2E2F2B
split-complementary
#2B2F2E #2F2B2E #2F2C2B
monochromatic
#0F1010 #0F1010 #2B2F2E #484F4D #656F6D

Accessibility & contrast

On white

13.56
#2B2F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F2E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F2E#FFFFFF#000000##FFFFFF
##2B2F2E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2f2e;
/* rgb */ color: rgb(43, 47, 46);
/* oklch */ color: oklch(30.1% 0.006 179.3);
Tailwind
colors: {
  custom: {
    50: '#646766',
    500: '#2b2f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f2e;
$custom-light: #646766;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f2e",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 165,
    "s": 4.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30087,
    "c": 0.00589,
    "h": 179.3
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#2B2F2E
secondary
#5E5859
accent
#7A87AE
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #2B2F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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