#282826#282826

#282826 is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.6% C 0.004 H 106.6°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#282826
RGBrgb(40, 40, 38)
HSLhsl(60, 3%, 15%)
HSVhsv(60, 5%, 16%)
CMYKcmyk(0%, 0%, 5%, 84.3%)
CIE-LABlab(16.05, -0.47, 1.31)
CIE-LCHlch(16.05, 1.40, 109.74°)
OKLaboklab(27.61% -0.001 0.0035)
OKLCHoklch(27.61% 0.004 106.6)
XYZxyz(1.9837, 2.1086, 2.1359)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282826 #262628
analogous
#282726 #282826 #272826
triadic
#282826 #262828 #282628
tetradic
#282826 #262827 #262628 #282627
square
#282826 #262827 #262628 #282627
split-complementary
#282826 #262728 #272628
monochromatic
#10100F #10100F #282826 #474744 #676762

Accessibility & contrast

On white

14.77
#282826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#282826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282826
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282826#FFFFFF#000000##FFFFFF
##2828261.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282826
Deuteranopia (green-blind)
#282826
Tritanopia (blue-blind)
#282827
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282826;
/* rgb */ color: rgb(40, 40, 38);
/* oklch */ color: oklch(27.6% 0.004 106.6);
Tailwind
colors: {
  custom: {
    50: '#616160',
    500: '#282826',
    950: '#000000',
  },
}
SCSS
$custom: #282826;
$custom-light: #616160;
$custom-dark: #000000;
JSON
{
  "hex": "#282826",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 2.564,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2761,
    "c": 0.00361,
    "h": 106.6
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#282826
secondary
#535356
accent
#7CAC7C
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050504
muted
#797979

Preview Lab

Preview with #282826

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

Preview Lab → · Contrast checker → · Palette generator →

#282826 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva