#262C2B#262C2B

#262C2B is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.7% C 0.009 H 184.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#262C2B
RGBrgb(38, 44, 43)
HSLhsl(170, 7%, 16%)
HSVhsv(170, 14%, 17%)
CMYKcmyk(13.6%, 0%, 2.3%, 82.7%)
CIE-LABlab(17.40, -2.88, -0.25)
CIE-LCHlch(17.40, 2.89, 184.88°)
OKLaboklab(28.69% -0.0086 -0.0007)
OKLCHoklch(28.69% 0.009 184.6)
XYZxyz(2.1360, 2.3878, 2.6334)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C2B #2C2627
analogous
#262C28 #262C2B #262A2C
triadic
#262C2B #2B262C #2C2B26
tetradic
#262C2B #28262C #2C2627 #2A2C26
square
#262C2B #28262C #2C2627 #2A2C26
split-complementary
#262C2B #2C262A #2C2826
monochromatic
#0E1010 #0E1010 #262C2B #424D4B #5F6E6B

Accessibility & contrast

On white

14.21
#262C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#262C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C2B
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C2B#FFFFFF#000000##FFFFFF
##262C2B1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2B
Deuteranopia (green-blind)
#2A2A2B
Tritanopia (blue-blind)
#252C2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262c2b;
/* rgb */ color: rgb(38, 44, 43);
/* oklch */ color: oklch(28.7% 0.009 184.6);
Tailwind
colors: {
  custom: {
    50: '#606564',
    500: '#262c2b',
    950: '#000000',
  },
}
SCSS
$custom: #262c2b;
$custom-light: #606564;
$custom-dark: #000000;
JSON
{
  "hex": "#262c2b",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 43
  },
  "hsl": {
    "h": 170,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28688,
    "c": 0.00864,
    "h": 184.6
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#262C2B
secondary
#5B5254
accent
#7781B0
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#040505
muted
#797A79

Preview Lab

Preview with #262C2B

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

Preview Lab → · Contrast checker → · Palette generator →

#262C2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva