#40505C#40505C

#40505C is a dark, muted cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.028 H 240.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#40505C
RGBrgb(64, 80, 92)
HSLhsl(206, 18%, 31%)
HSVhsv(206, 30%, 36%)
CMYKcmyk(30.4%, 13%, 0%, 63.9%)
CIE-LABlab(33.13, -3.06, -9.07)
CIE-LCHlch(33.13, 9.57, 251.32°)
OKLaboklab(42.23% -0.0139 -0.0248)
OKLCHoklch(42.23% 0.028 240.7)
XYZxyz(6.9142, 7.5997, 11.2257)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40505C #5C4C40
analogous
#405C5A #40505C #40425C
triadic
#40505C #5C4050 #505C40
tetradic
#40505C #5A405C #5C4C40 #425C40
square
#40505C #5A405C #5C4C40 #425C40
split-complementary
#40505C #5C4042 #5C5A40
monochromatic
#0E1114 #273138 #40505C #596F80 #768EA0

Accessibility & contrast

On white

8.33
#40505C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#40505C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40505C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40505C#FFFFFF#000000##FFFFFF
##40505C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505D
Deuteranopia (green-blind)
#474D5C
Tritanopia (blue-blind)
#385354
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #40505c;
/* rgb */ color: rgb(64, 80, 92);
/* oklch */ color: oklch(42.2% 0.028 240.7);
Tailwind
colors: {
  custom: {
    50: '#75818a',
    500: '#40505c',
    950: '#000000',
  },
}
SCSS
$custom: #40505c;
$custom-light: #75818a;
$custom-dark: #000000;
JSON
{
  "hex": "#40505c",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 92
  },
  "hsl": {
    "h": 205.714,
    "s": 17.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42232,
    "c": 0.0284,
    "h": 240.7
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#40505C
secondary
#8B7A6C
accent
#8E6DBB
background
#F7F7F8
surface
#EDEEF0
border
#C8C9CB
text
#080A0B
muted
#7B7C7C

Preview Lab

Preview with #40505C

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

Preview Lab → · Contrast checker → · Palette generator →

#40505C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva