#262C2C#262C2C

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

Color values

HEX#262C2C
RGBrgb(38, 44, 44)
HSLhsl(180, 7%, 16%)
HSVhsv(180, 14%, 17%)
CMYKcmyk(13.6%, 0%, 0%, 82.7%)
CIE-LABlab(17.44, -2.62, -0.89)
CIE-LCHlch(17.44, 2.77, 198.82°)
OKLaboklab(28.73% -0.0081 -0.0024)
OKLCHoklch(28.73% 0.008 196.7)
XYZxyz(2.1545, 2.3952, 2.7312)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C2C #2C2626
analogous
#262C29 #262C2C #26292C
triadic
#262C2C #2C262C #2C2C26
tetradic
#262C2C #29262C #2C2626 #292C26
square
#262C2C #29262C #2C2626 #292C26
split-complementary
#262C2C #2C2629 #2C2926
monochromatic
#0E1010 #0E1010 #262C2C #424D4D #5F6E6E

Accessibility & contrast

On white

14.20
#262C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C2C
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C2C#FFFFFF#000000##FFFFFF
##262C2C1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2C
Deuteranopia (green-blind)
#2A2A2C
Tritanopia (blue-blind)
#242C2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262c2c;
/* rgb */ color: rgb(38, 44, 44);
/* oklch */ color: oklch(28.7% 0.008 196.7);
Tailwind
colors: {
  custom: {
    50: '#606565',
    500: '#262c2c',
    950: '#000000',
  },
}
SCSS
$custom: #262c2c;
$custom-light: #606565;
$custom-dark: #000000;
JSON
{
  "hex": "#262c2c",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 44
  },
  "hsl": {
    "h": 180,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28727,
    "c": 0.00845,
    "h": 196.7
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#262C2C
secondary
#5B5252
accent
#7777B0
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#040505
muted
#797A7A

Preview Lab

Preview with #262C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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