#2B2F2D#2B2F2D

#2B2F2D is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.0% C 0.007 H 164.5°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#2B2F2D
RGBrgb(43, 47, 45)
HSLhsl(150, 4%, 18%)
HSVhsv(150, 9%, 18%)
CMYKcmyk(8.5%, 0%, 4.3%, 81.6%)
CIE-LABlab(18.95, -2.24, 0.68)
CIE-LCHlch(18.95, 2.34, 163.08°)
OKLaboklab(30.05% -0.0064 0.0018)
OKLCHoklch(30.05% 0.007 164.5)
XYZxyz(2.4863, 2.7361, 2.8792)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F2D #2F2B2D
analogous
#2B2F2B #2B2F2D #2B2F2F
triadic
#2B2F2D #2D2B2F #2F2D2B
tetradic
#2B2F2D #2B2B2F #2F2B2D #2F2F2B
square
#2B2F2D #2B2B2F #2F2B2D #2F2F2B
split-complementary
#2B2F2D #2F2B2F #2F2B2B
monochromatic
#0F100F #0F100F #2B2F2D #484F4C #656F6A

Accessibility & contrast

On white

13.57
#2B2F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F2D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F2D#FFFFFF#000000##FFFFFF
##2B2F2D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2D
Deuteranopia (green-blind)
#2E2E2D
Tritanopia (blue-blind)
#2A2F2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b2f2d;
/* rgb */ color: rgb(43, 47, 45);
/* oklch */ color: oklch(30.0% 0.007 164.5);
Tailwind
colors: {
  custom: {
    50: '#646765',
    500: '#2b2f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f2d;
$custom-light: #646765;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f2d",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 150,
    "s": 4.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3005,
    "c": 0.00664,
    "h": 164.5
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#2B2F2D
secondary
#5E585B
accent
#7A94AE
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050605
muted
#797A7A

Preview Lab

Preview with #2B2F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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