#252829#252829

#252829 is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.4% C 0.005 H 219.7°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#252829
RGBrgb(37, 40, 41)
HSLhsl(195, 5%, 15%)
HSVhsv(195, 10%, 16%)
CMYKcmyk(9.8%, 2.4%, 0%, 83.9%)
CIE-LABlab(15.86, -1.09, -1.12)
CIE-LCHlch(15.86, 1.56, 225.80°)
OKLaboklab(27.42% -0.0036 -0.003)
OKLCHoklch(27.42% 0.005 219.7)
XYZxyz(1.9219, 2.0710, 2.3959)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252829 #292625
analogous
#252928 #252829 #252629
triadic
#252829 #292528 #282925
tetradic
#252829 #282529 #292625 #262925
square
#252829 #282529 #292625 #262925
split-complementary
#252829 #292526 #292825
monochromatic
#0F1010 #0F1010 #252829 #424749 #5F6769

Accessibility & contrast

On white

14.85
#252829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#252829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252829
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252829#FFFFFF#000000##FFFFFF
##2528291.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252829;
/* rgb */ color: rgb(37, 40, 41);
/* oklch */ color: oklch(27.4% 0.005 219.7);
Tailwind
colors: {
  custom: {
    50: '#5f6162',
    500: '#252829',
    950: '#000000',
  },
}
SCSS
$custom: #252829;
$custom-light: #5f6162;
$custom-dark: #000000;
JSON
{
  "hex": "#252829",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 195,
    "s": 5.128,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2742,
    "c": 0.00472,
    "h": 219.7
  },
  "luminance": 0.02071
}

Semantic roles & 50–950 ramp

primary
#252829
secondary
#585352
accent
#877AAE
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040505
muted
#797979

Preview Lab

Preview with #252829

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

Preview Lab → · Contrast checker → · Palette generator →

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