#383A40#383A40

#383A40 is a dark, near-neutral grey. Relative luminance 0.042; OKLCH L 34.9% C 0.011 H 271.1°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#383A40
RGBrgb(56, 58, 64)
HSLhsl(225, 7%, 24%)
HSVhsv(225, 13%, 25%)
CMYKcmyk(12.5%, 9.4%, 0%, 74.9%)
CIE-LABlab(24.44, 0.60, -4.00)
CIE-LCHlch(24.44, 4.04, 278.61°)
OKLaboklab(34.88% 0.0002 -0.0107)
OKLCHoklch(34.88% 0.011 271.1)
XYZxyz(4.0692, 4.2370, 5.4529)
Luminance0.0424 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383A40 #403E38
analogous
#383E40 #383A40 #3A3840
triadic
#383A40 #40383A #3A4038
tetradic
#383A40 #40383E #403E38 #38403A
square
#383A40 #40383E #403E38 #38403A
split-complementary
#383A40 #403A38 #3E4038
monochromatic
#0E0F10 #1B1C1F #383A40 #555861 #717581

Accessibility & contrast

On white

11.37
#383A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#383A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383A40
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383A40#FFFFFF#000000##FFFFFF
##383A401.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#383A40
Tritanopia (blue-blind)
#363B3C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #383a40;
/* rgb */ color: rgb(56, 58, 64);
/* oklch */ color: oklch(34.9% 0.011 271.1);
Tailwind
colors: {
  custom: {
    50: '#6e7074',
    500: '#383a40',
    950: '#000000',
  },
}
SCSS
$custom: #383a40;
$custom-light: #6e7074;
$custom-dark: #000000;
JSON
{
  "hex": "#383a40",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 64
  },
  "hsl": {
    "h": 225,
    "s": 6.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34882,
    "c": 0.01075,
    "h": 271.1
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#383A40
secondary
#6F6C65
accent
#A278B0
background
#F6F6F7
surface
#EBECED
border
#C6C7C8
text
#070708
muted
#7A7A7B

Preview Lab

Preview with #383A40

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

Preview Lab → · Contrast checker → · Palette generator →

#383A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva