#2B262B#2B262B

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

Color values

HEX#2B262B
RGBrgb(43, 38, 43)
HSLhsl(300, 6%, 16%)
HSVhsv(300, 12%, 17%)
CMYKcmyk(0%, 11.6%, 0%, 83.1%)
CIE-LABlab(15.87, 3.48, -2.44)
CIE-LCHlch(15.87, 4.26, 324.96°)
OKLaboklab(27.61% 0.0096 -0.0065)
OKLCHoklch(27.61% 0.012 325.9)
XYZxyz(2.1254, 2.0743, 2.5734)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B262B #262B26
analogous
#28262B #2B262B #2B2628
triadic
#2B262B #2B2B26 #262B2B
tetradic
#2B262B #2B2826 #262B26 #26282B
square
#2B262B #2B2826 #262B26 #26282B
split-complementary
#2B262B #282B26 #262B28
monochromatic
#100E10 #100E10 #2B262B #4B434B #6C5F6C

Accessibility & contrast

On white

14.84
#2B262B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B262B
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B262B#FFFFFF#000000##FFFFFF
##2B262B1.0014.841.4114.84
#FFFFFF14.841.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b262b;
/* rgb */ color: rgb(43, 38, 43);
/* oklch */ color: oklch(27.6% 0.012 325.9);
Tailwind
colors: {
  custom: {
    50: '#646064',
    500: '#2b262b',
    950: '#000000',
  },
}
SCSS
$custom: #2b262b;
$custom-light: #646064;
$custom-dark: #000000;
JSON
{
  "hex": "#2b262b",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 300,
    "s": 6.173,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27608,
    "c": 0.01158,
    "h": 325.9
  },
  "luminance": 0.02074
}

Semantic roles & 50–950 ramp

primary
#2B262B
secondary
#535A53
accent
#AF7979
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050405
muted
#797979

Preview Lab

Preview with #2B262B

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

Preview Lab → · Contrast checker → · Palette generator →

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