#2B262C#2B262C

#2B262C is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.7% C 0.013 H 320.6°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#2B262C
RGBrgb(43, 38, 44)
HSLhsl(290, 7%, 16%)
HSVhsv(290, 14%, 17%)
CMYKcmyk(2.3%, 13.6%, 0%, 82.7%)
CIE-LABlab(15.91, 3.73, -3.10)
CIE-LCHlch(15.91, 4.85, 320.30°)
OKLaboklab(27.65% 0.0101 -0.0083)
OKLCHoklch(27.65% 0.013 320.6)
XYZxyz(2.1439, 2.0817, 2.6712)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B262C #272C26
analogous
#28262C #2B262C #2C262A
triadic
#2B262C #2C2B26 #262C2B
tetradic
#2B262C #2C2826 #272C26 #262A2C
square
#2B262C #2C2826 #272C26 #262A2C
split-complementary
#2B262C #2A2C26 #262C28
monochromatic
#100E10 #100E10 #2B262C #4B424D #6B5F6E

Accessibility & contrast

On white

14.83
#2B262C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2B262C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B262C
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B262C#FFFFFF#000000##FFFFFF
##2B262C1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272C
Deuteranopia (green-blind)
#26282C
Tritanopia (blue-blind)
#2B2728
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b262c;
/* rgb */ color: rgb(43, 38, 44);
/* oklch */ color: oklch(27.7% 0.013 320.6);
Tailwind
colors: {
  custom: {
    50: '#646065',
    500: '#2b262c',
    950: '#000000',
  },
}
SCSS
$custom: #2b262c;
$custom-light: #646065;
$custom-dark: #000000;
JSON
{
  "hex": "#2b262c",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 290,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2765,
    "c": 0.01302,
    "h": 320.6
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#2B262C
secondary
#545B52
accent
#B07781
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050405
muted
#79797A

Preview Lab

Preview with #2B262C

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

Preview Lab → · Contrast checker → · Palette generator →

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