#272829#272829

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

Color values

HEX#272829
RGBrgb(39, 40, 41)
HSLhsl(210, 3%, 16%)
HSVhsv(210, 5%, 16%)
CMYKcmyk(4.9%, 2.4%, 0%, 83.9%)
CIE-LABlab(16.05, -0.20, -0.81)
CIE-LCHlch(16.05, 0.84, 255.97°)
OKLaboklab(27.62% -0.0009 -0.0022)
OKLCHoklch(27.62% 0.002 247.9)
XYZxyz(1.9957, 2.1090, 2.3993)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272829 #292827
analogous
#272929 #272829 #272729
triadic
#272829 #292728 #282927
tetradic
#272829 #292729 #292827 #272927
square
#272829 #292729 #292827 #272927
split-complementary
#272829 #292727 #292927
monochromatic
#0F0F10 #0F0F10 #272829 #454748 #636568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272829#FFFFFF#000000##FFFFFF
##2728291.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)
#282829
Deuteranopia (green-blind)
#272829
Tritanopia (blue-blind)
#272828
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #272829;
/* rgb */ color: rgb(39, 40, 41);
/* oklch */ color: oklch(27.6% 0.002 247.9);
Tailwind
colors: {
  custom: {
    50: '#616162',
    500: '#272829',
    950: '#000000',
  },
}
SCSS
$custom: #272829;
$custom-light: #616162;
$custom-dark: #000000;
JSON
{
  "hex": "#272829",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 210,
    "s": 2.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2762,
    "c": 0.00234,
    "h": 247.9
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#272829
secondary
#575654
accent
#947CAC
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#050505
muted
#797979

Preview Lab

Preview with #272829

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

Preview Lab → · Contrast checker → · Palette generator →

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