#262C2A#262C2A

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

Color values

HEX#262C2A
RGBrgb(38, 44, 42)
HSLhsl(160, 7%, 16%)
HSVhsv(160, 14%, 17%)
CMYKcmyk(13.6%, 0%, 4.5%, 82.7%)
CIE-LABlab(17.37, -3.14, 0.40)
CIE-LCHlch(17.37, 3.16, 172.68°)
OKLaboklab(28.65% -0.0091 0.001)
OKLCHoklch(28.65% 0.009 173.6)
XYZxyz(2.1178, 2.3806, 2.5380)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C2A #2C2628
analogous
#262C27 #262C2A #262B2C
triadic
#262C2A #2A262C #2C2A26
tetradic
#262C2A #27262C #2C2628 #2B2C26
square
#262C2A #27262C #2C2628 #2B2C26
split-complementary
#262C2A #2C262B #2C2726
monochromatic
#0E1010 #0E1010 #262C2A #424D49 #5F6E69

Accessibility & contrast

On white

14.23
#262C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C2A
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C2A#FFFFFF#000000##FFFFFF
##262C2A1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2B2A
Deuteranopia (green-blind)
#2A2A2A
Tritanopia (blue-blind)
#252C2B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262c2a;
/* rgb */ color: rgb(38, 44, 42);
/* oklch */ color: oklch(28.6% 0.009 173.6);
Tailwind
colors: {
  custom: {
    50: '#606563',
    500: '#262c2a',
    950: '#000000',
  },
}
SCSS
$custom: #262c2a;
$custom-light: #606563;
$custom-dark: #000000;
JSON
{
  "hex": "#262c2a",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 42
  },
  "hsl": {
    "h": 160,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2865,
    "c": 0.00919,
    "h": 173.6
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#262C2A
secondary
#5B5255
accent
#778AB0
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#040505
muted
#797A79

Preview Lab

Preview with #262C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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