#42403E#42403E

#42403E is a dark, near-neutral grey. Relative luminance 0.052; OKLCH L 37.3% C 0.004 H 67.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#42403E
RGBrgb(66, 64, 62)
HSLhsl(30, 3%, 25%)
HSVhsv(30, 6%, 26%)
CMYKcmyk(0%, 3%, 6.1%, 74.1%)
CIE-LABlab(27.22, 0.41, 1.52)
CIE-LCHlch(27.22, 1.58, 74.81°)
OKLaboklab(37.28% 0.0017 0.004)
OKLCHoklch(37.28% 0.004 67.7)
XYZxyz(4.9495, 5.1729, 5.2942)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42403E #3E4042
analogous
#423E3E #42403E #42423E
triadic
#42403E #3E4240 #403E42
tetradic
#42403E #3E423E #3E4042 #423E42
square
#42403E #3E423E #3E4042 #423E42
split-complementary
#42403E #3E4242 #3E3E42
monochromatic
#100F0F #222120 #42403E #625F5C #817D79

Accessibility & contrast

On white

10.32
#42403E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42403E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42403E#FFFFFF#000000##FFFFFF
##42403E1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41403E
Deuteranopia (green-blind)
#41403E
Tritanopia (blue-blind)
#43403F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #42403e;
/* rgb */ color: rgb(66, 64, 62);
/* oklch */ color: oklch(37.3% 0.004 67.7);
Tailwind
colors: {
  custom: {
    50: '#767473',
    500: '#42403e',
    950: '#000000',
  },
}
SCSS
$custom: #42403e;
$custom-light: #767473;
$custom-dark: #000000;
JSON
{
  "hex": "#42403e",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 62
  },
  "hsl": {
    "h": 30,
    "s": 3.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37276,
    "c": 0.00435,
    "h": 67.7
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#42403E
secondary
#6B6E70
accent
#94AC7B
background
#F7F7F6
surface
#EDEDEC
border
#C8C8C7
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #42403E

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

Preview Lab → · Contrast checker → · Palette generator →

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