#42403C#42403C

#42403C is a dark, near-neutral grey. Relative luminance 0.052; OKLCH L 37.2% C 0.007 H 84.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#42403C
RGBrgb(66, 64, 60)
HSLhsl(40, 5%, 25%)
HSVhsv(40, 9%, 26%)
CMYKcmyk(0%, 3%, 9.1%, 74.1%)
CIE-LABlab(27.16, -0.01, 2.75)
CIE-LCHlch(27.16, 2.75, 90.12°)
OKLaboklab(37.21% 0.0007 0.0072)
OKLCHoklch(37.21% 0.007 84.6)
XYZxyz(4.8957, 5.1513, 5.0105)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42403C #3C3E42
analogous
#423D3C #42403C #41423C
triadic
#42403C #3C4240 #403C42
tetradic
#42403C #3C423D #3C3E42 #423C41
square
#42403C #3C423D #3C3E42 #423C41
split-complementary
#42403C #3C4142 #3D3C42
monochromatic
#10100F #22211F #42403C #625F59 #827E76

Accessibility & contrast

On white

10.34
#42403C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#42403C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42403C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42403C#FFFFFF#000000##FFFFFF
##42403C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41403C
Deuteranopia (green-blind)
#42403C
Tritanopia (blue-blind)
#433F3F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #42403c;
/* rgb */ color: rgb(66, 64, 60);
/* oklch */ color: oklch(37.2% 0.007 84.6);
Tailwind
colors: {
  custom: {
    50: '#767471',
    500: '#42403c',
    950: '#000000',
  },
}
SCSS
$custom: #42403c;
$custom-light: #767471;
$custom-dark: #000000;
JSON
{
  "hex": "#42403c",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 60
  },
  "hsl": {
    "h": 40,
    "s": 4.762,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37209,
    "c": 0.00724,
    "h": 84.6
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#42403C
secondary
#696C71
accent
#8BAE7A
background
#F7F7F6
surface
#EDEDEC
border
#C8C8C7
text
#080807
muted
#7B7B7A

Preview Lab

Preview with #42403C

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

Preview Lab → · Contrast checker → · Palette generator →

#42403C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva