#26262C#26262C

#26262C is a dark, near-neutral grey. Relative luminance 0.020; OKLCH L 27.1% C 0.011 H 285.6°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#26262C
RGBrgb(38, 38, 44)
HSLhsl(240, 7%, 16%)
HSVhsv(240, 14%, 17%)
CMYKcmyk(13.6%, 13.6%, 0%, 82.7%)
CIE-LABlab(15.38, 1.54, -3.94)
CIE-LCHlch(15.38, 4.23, 291.34°)
OKLaboklab(27.11% 0.003 -0.0106)
OKLCHoklch(27.11% 0.011 285.6)
XYZxyz(1.9470, 1.9801, 2.6620)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26262C #2C2C26
analogous
#26292C #26262C #29262C
triadic
#26262C #2C2626 #262C26
tetradic
#26262C #2C2629 #2C2C26 #262C29
square
#26262C #2C2629 #2C2C26 #262C29
split-complementary
#26262C #2C2926 #292C26
monochromatic
#0E0E10 #0E0E10 #26262C #42424D #5F5F6E

Accessibility & contrast

On white

15.04
#26262C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#26262C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26262C
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26262C#FFFFFF#000000##FFFFFF
##26262C1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272C
Deuteranopia (green-blind)
#24262C
Tritanopia (blue-blind)
#252728
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #26262c;
/* rgb */ color: rgb(38, 38, 44);
/* oklch */ color: oklch(27.1% 0.011 285.6);
Tailwind
colors: {
  custom: {
    50: '#606065',
    500: '#26262c',
    950: '#000000',
  },
}
SCSS
$custom: #26262c;
$custom-light: #606065;
$custom-dark: #000000;
JSON
{
  "hex": "#26262c",
  "rgb": {
    "r": 38,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 240,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2711,
    "c": 0.01103,
    "h": 285.6
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#26262C
secondary
#5B5B52
accent
#B077B0
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040405
muted
#79797A

Preview Lab

Preview with #26262C

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

Preview Lab → · Contrast checker → · Palette generator →

#26262C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva