#42393F#42393F

#42393F is a dark, near-neutral grey. Relative luminance 0.044; OKLCH L 35.6% C 0.016 H 338.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#42393F
RGBrgb(66, 57, 63)
HSLhsl(320, 7%, 24%)
HSVhsv(320, 14%, 26%)
CMYKcmyk(0%, 13.6%, 4.5%, 74.1%)
CIE-LABlab(25.09, 5.21, -2.26)
CIE-LCHlch(25.09, 5.68, 336.52°)
OKLaboklab(35.62% 0.0149 -0.006)
OKLCHoklch(35.62% 0.016 338.1)
XYZxyz(4.6070, 4.4435, 5.3166)
Luminance0.0444 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42393F #39423C
analogous
#413942 #42393F #42393B
triadic
#42393F #3F4239 #393F42
tetradic
#42393F #424139 #39423C #393B42
square
#42393F #424139 #39423C #393B42
split-complementary
#42393F #3B4239 #394241
monochromatic
#100E10 #211D20 #42393F #63555E #84727E

Accessibility & contrast

On white

11.12
#42393F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#42393F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42393F
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42393F#FFFFFF#000000##FFFFFF
##42393F1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B3F
Deuteranopia (green-blind)
#3B3C3F
Tritanopia (blue-blind)
#43393B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #42393f;
/* rgb */ color: rgb(66, 57, 63);
/* oklch */ color: oklch(35.6% 0.016 338.1);
Tailwind
colors: {
  custom: {
    50: '#766f74',
    500: '#42393f',
    950: '#000000',
  },
}
SCSS
$custom: #42393f;
$custom-light: #766f74;
$custom-dark: #000000;
JSON
{
  "hex": "#42393f",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 63
  },
  "hsl": {
    "h": 320,
    "s": 7.317,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35617,
    "c": 0.01601,
    "h": 338.1
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#42393F
secondary
#66716A
accent
#B08A77
background
#F7F6F7
surface
#EDECED
border
#C8C7C8
text
#080708
muted
#7B7A7B

Preview Lab

Preview with #42393F

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

Preview Lab → · Contrast checker → · Palette generator →

#42393F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva