#2B262A#2B262A

#2B262A is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.6% C 0.010 H 332.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#2B262A
RGBrgb(43, 38, 42)
HSLhsl(312, 6%, 16%)
HSVhsv(312, 12%, 17%)
CMYKcmyk(0%, 11.6%, 2.3%, 83.1%)
CIE-LABlab(15.84, 3.24, -1.79)
CIE-LCHlch(15.84, 3.70, 331.10°)
OKLaboklab(27.57% 0.0091 -0.0047)
OKLCHoklch(27.57% 0.01 332.6)
XYZxyz(2.1072, 2.0670, 2.4780)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B262A #262B27
analogous
#29262B #2B262A #2B2627
triadic
#2B262A #2A2B26 #262A2B
tetradic
#2B262A #2B2926 #262B27 #26272B
square
#2B262A #2B2926 #262B27 #26272B
split-complementary
#2B262A #272B26 #262B29
monochromatic
#100E10 #100E10 #2B262A #4B434A #6C5F69

Accessibility & contrast

On white

14.86
#2B262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2B262A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B262A
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B262A#FFFFFF#000000##FFFFFF
##2B262A1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#27282A
Tritanopia (blue-blind)
#2C2627
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b262a;
/* rgb */ color: rgb(43, 38, 42);
/* oklch */ color: oklch(27.6% 0.010 332.6);
Tailwind
colors: {
  custom: {
    50: '#646063',
    500: '#2b262a',
    950: '#000000',
  },
}
SCSS
$custom: #2b262a;
$custom-light: #646063;
$custom-dark: #000000;
JSON
{
  "hex": "#2b262a",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 312,
    "s": 6.173,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27567,
    "c": 0.01026,
    "h": 332.6
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#2B262A
secondary
#535A54
accent
#AF8379
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050405
muted
#797979

Preview Lab

Preview with #2B262A

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

Preview Lab → · Contrast checker → · Palette generator →

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