#262C28#262C28

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

Color values

HEX#262C28
RGBrgb(38, 44, 40)
HSLhsl(140, 7%, 16%)
HSVhsv(140, 14%, 17%)
CMYKcmyk(13.6%, 0%, 9.1%, 82.7%)
CIE-LABlab(17.30, -3.63, 1.70)
CIE-LCHlch(17.30, 4.01, 154.86°)
OKLaboklab(28.58% -0.0102 0.0044)
OKLCHoklch(28.58% 0.011 156.5)
XYZxyz(2.0829, 2.3666, 2.3541)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C28 #2C262A
analogous
#272C26 #262C28 #262C2B
triadic
#262C28 #28262C #2C2826
tetradic
#262C28 #26272C #2C262A #2C2B26
square
#262C28 #26272C #2C262A #2C2B26
split-complementary
#262C28 #2B262C #2C2627
monochromatic
#0E100F #0E100F #262C28 #424D46 #5F6E64

Accessibility & contrast

On white

14.25
#262C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#262C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C28
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C28#FFFFFF#000000##FFFFFF
##262C281.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262c28;
/* rgb */ color: rgb(38, 44, 40);
/* oklch */ color: oklch(28.6% 0.011 156.5);
Tailwind
colors: {
  custom: {
    50: '#606561',
    500: '#262c28',
    950: '#000000',
  },
}
SCSS
$custom: #262c28;
$custom-light: #606561;
$custom-dark: #000000;
JSON
{
  "hex": "#262c28",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 40
  },
  "hsl": {
    "h": 140,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28577,
    "c": 0.01112,
    "h": 156.5
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#262C28
secondary
#5B5258
accent
#779DB0
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040505
muted
#797A79

Preview Lab

Preview with #262C28

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

Preview Lab → · Contrast checker → · Palette generator →

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