#42403A#42403A

#42403A is a dark, near-neutral grey. Relative luminance 0.051; OKLCH L 37.1% C 0.010 H 91.7°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#42403A
RGBrgb(66, 64, 58)
HSLhsl(45, 6%, 24%)
HSVhsv(45, 12%, 26%)
CMYKcmyk(0%, 3%, 12.1%, 74.1%)
CIE-LABlab(27.10, -0.42, 3.97)
CIE-LCHlch(27.10, 4.00, 95.98°)
OKLaboklab(37.14% -0.0003 0.0104)
OKLCHoklch(37.14% 0.01 91.7)
XYZxyz(4.8438, 5.1306, 4.7373)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42403A #3A3C42
analogous
#423C3A #42403A #40423A
triadic
#42403A #3A4240 #403A42
tetradic
#42403A #3A423C #3A3C42 #423A40
square
#42403A #3A423C #3A3C42 #423A40
split-complementary
#42403A #3A4042 #3C3A42
monochromatic
#10100E #21201D #42403A #636057 #837F73

Accessibility & contrast

On white

10.36
#42403A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42403A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42403A#FFFFFF#000000##FFFFFF
##42403A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42403a;
/* rgb */ color: rgb(66, 64, 58);
/* oklch */ color: oklch(37.1% 0.010 91.7);
Tailwind
colors: {
  custom: {
    50: '#767470',
    500: '#42403a',
    950: '#000000',
  },
}
SCSS
$custom: #42403a;
$custom-light: #767470;
$custom-dark: #000000;
JSON
{
  "hex": "#42403a",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 58
  },
  "hsl": {
    "h": 45,
    "s": 6.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37144,
    "c": 0.01038,
    "h": 91.7
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#42403A
secondary
#676971
accent
#86B078
background
#F7F7F6
surface
#EDEDEC
border
#C8C8C7
text
#080807
muted
#7B7B7A

Preview Lab

Preview with #42403A

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

Preview Lab → · Contrast checker → · Palette generator →

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