#40474F#40474F

#40474F is a dark, near-neutral cyan. Relative luminance 0.062; OKLCH L 39.5% C 0.016 H 251.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#40474F
RGBrgb(64, 71, 79)
HSLhsl(212, 10%, 28%)
HSVhsv(212, 19%, 31%)
CMYKcmyk(19%, 10.1%, 0%, 69%)
CIE-LABlab(29.81, -0.87, -5.74)
CIE-LCHlch(29.81, 5.81, 261.36°)
OKLaboklab(39.46% -0.0051 -0.0155)
OKLCHoklch(39.46% 0.016 251.8)
XYZxyz(5.7785, 6.1609, 8.2803)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40474F #4F4840
analogous
#404E4F #40474F #40404F
triadic
#40474F #4F4047 #474F40
tetradic
#40474F #4F404E #4F4840 #404F40
square
#40474F #4F404E #4F4840 #404F40
split-complementary
#40474F #4F4040 #4E4F40
monochromatic
#0E0F11 #25292D #40474F #5B6571 #788492

Accessibility & contrast

On white

9.41
#40474F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#40474F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40474F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40474F#FFFFFF#000000##FFFFFF
##40474F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474F
Deuteranopia (green-blind)
#42464F
Tritanopia (blue-blind)
#3C494A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #40474f;
/* rgb */ color: rgb(64, 71, 79);
/* oklch */ color: oklch(39.5% 0.016 251.8);
Tailwind
colors: {
  custom: {
    50: '#757a80',
    500: '#40474f',
    950: '#000000',
  },
}
SCSS
$custom: #40474f;
$custom-light: #757a80;
$custom-dark: #000000;
JSON
{
  "hex": "#40474f",
  "rgb": {
    "r": 64,
    "g": 71,
    "b": 79
  },
  "hsl": {
    "h": 212,
    "s": 10.49,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.01637,
    "h": 251.8
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#40474F
secondary
#7E766D
accent
#9674B3
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#08090A
muted
#7B7B7C

Preview Lab

Preview with #40474F

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

Preview Lab → · Contrast checker → · Palette generator →

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