#26282A#26282A

#26282A is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.6% C 0.005 H 248.0°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#26282A
RGBrgb(38, 40, 42)
HSLhsl(210, 5%, 16%)
HSVhsv(210, 10%, 16%)
CMYKcmyk(9.5%, 4.8%, 0%, 83.5%)
CIE-LABlab(15.99, -0.39, -1.62)
CIE-LCHlch(15.99, 1.67, 256.43°)
OKLaboklab(27.56% -0.0018 -0.0043)
OKLCHoklch(27.56% 0.005 248)
XYZxyz(1.9760, 2.0968, 2.4907)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26282A #2A2826
analogous
#262A2A #26282A #26262A
triadic
#26282A #2A2628 #282A26
tetradic
#26282A #2A262A #2A2826 #262A26
square
#26282A #2A262A #2A2826 #262A26
split-complementary
#26282A #2A2626 #2A2A26
monochromatic
#0F0F10 #0F0F10 #26282A #43474A #60656A

Accessibility & contrast

On white

14.79
#26282A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#26282A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26282A
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26282A#FFFFFF#000000##FFFFFF
##26282A1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282A
Deuteranopia (green-blind)
#27282A
Tritanopia (blue-blind)
#252829
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #26282a;
/* rgb */ color: rgb(38, 40, 42);
/* oklch */ color: oklch(27.6% 0.005 248.0);
Tailwind
colors: {
  custom: {
    50: '#606163',
    500: '#26282a',
    950: '#000000',
  },
}
SCSS
$custom: #26282a;
$custom-light: #606163;
$custom-dark: #000000;
JSON
{
  "hex": "#26282a",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 42
  },
  "hsl": {
    "h": 210,
    "s": 5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27559,
    "c": 0.00469,
    "h": 248
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#26282A
secondary
#595653
accent
#947AAE
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040505
muted
#797979

Preview Lab

Preview with #26282A

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

Preview Lab → · Contrast checker → · Palette generator →

#26282A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva