#262829#262829

#262829 is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.5% C 0.003 H 229.0°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#262829
RGBrgb(38, 40, 41)
HSLhsl(200, 4%, 15%)
HSVhsv(200, 7%, 16%)
CMYKcmyk(7.3%, 2.4%, 0%, 83.9%)
CIE-LABlab(15.95, -0.65, -0.97)
CIE-LCHlch(15.95, 1.17, 236.25°)
OKLaboklab(27.52% -0.0023 -0.0026)
OKLCHoklch(27.52% 0.003 229)
XYZxyz(1.9583, 2.0897, 2.3976)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262829 #292726
analogous
#262928 #262829 #262629
triadic
#262829 #292628 #282926
tetradic
#262829 #282629 #292726 #262926
square
#262829 #282629 #292726 #262926
split-complementary
#262829 #292626 #292826
monochromatic
#0F0F10 #0F0F10 #262829 #434749 #616669

Accessibility & contrast

On white

14.81
#262829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262829
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262829#FFFFFF#000000##FFFFFF
##2628291.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272829
Deuteranopia (green-blind)
#272729
Tritanopia (blue-blind)
#252828
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262829;
/* rgb */ color: rgb(38, 40, 41);
/* oklch */ color: oklch(27.5% 0.003 229.0);
Tailwind
colors: {
  custom: {
    50: '#606162',
    500: '#262829',
    950: '#000000',
  },
}
SCSS
$custom: #262829;
$custom-light: #606162;
$custom-dark: #000000;
JSON
{
  "hex": "#262829",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 200,
    "s": 3.797,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27519,
    "c": 0.00344,
    "h": 229
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#262829
secondary
#585553
accent
#8C7BAD
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040505
muted
#797979

Preview Lab

Preview with #262829

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

Preview Lab → · Contrast checker → · Palette generator →

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