#424840#424840

#424840 is a dark, near-neutral grey. Relative luminance 0.062; OKLCH L 39.3% C 0.015 H 137.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#424840
RGBrgb(66, 72, 64)
HSLhsl(105, 6%, 27%)
HSVhsv(105, 11%, 28%)
CMYKcmyk(8.3%, 0%, 11.1%, 71.8%)
CIE-LABlab(29.82, -4.23, 3.97)
CIE-LCHlch(29.82, 5.80, 136.85°)
OKLaboklab(39.35% -0.0114 0.0103)
OKLCHoklch(39.35% 0.015 137.8)
XYZxyz(5.4894, 6.1631, 5.7499)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424840 #464048
analogous
#464840 #424840 #404842
triadic
#424840 #404248 #484042
tetradic
#424840 #404648 #464048 #484240
square
#424840 #404648 #464048 #484240
split-complementary
#424840 #424048 #484046
monochromatic
#0F100E #242823 #424840 #60685D #7E897A

Accessibility & contrast

On white

9.41
#424840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#424840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424840
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424840#FFFFFF#000000##FFFFFF
##4248401.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494740
Deuteranopia (green-blind)
#484640
Tritanopia (blue-blind)
#424746
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #424840;
/* rgb */ color: rgb(66, 72, 64);
/* oklch */ color: oklch(39.3% 0.015 137.8);
Tailwind
colors: {
  custom: {
    50: '#767b74',
    500: '#424840',
    950: '#000000',
  },
}
SCSS
$custom: #424840;
$custom-light: #767b74;
$custom-dark: #000000;
JSON
{
  "hex": "#424840",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 64
  },
  "hsl": {
    "h": 105,
    "s": 5.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39345,
    "c": 0.01538,
    "h": 137.8
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#424840
secondary
#746D77
accent
#79AFA1
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080908
muted
#7B7B7B

Preview Lab

Preview with #424840

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

Preview Lab → · Contrast checker → · Palette generator →

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