#405060#405060

#405060 is a dark, muted cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.033 H 248.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#405060
RGBrgb(64, 80, 96)
HSLhsl(210, 20%, 31%)
HSVhsv(210, 33%, 38%)
CMYKcmyk(33.3%, 16.7%, 0%, 62.4%)
CIE-LABlab(33.29, -1.94, -11.36)
CIE-LCHlch(33.29, 11.53, 260.32°)
OKLaboklab(42.4% -0.0122 -0.0312)
OKLCHoklch(42.4% 0.033 248.6)
XYZxyz(7.0937, 7.6715, 12.1711)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405060 #605040
analogous
#406060 #405060 #404060
triadic
#405060 #604050 #506040
tetradic
#405060 #604060 #605040 #406040
square
#405060 #604060 #605040 #406040
split-complementary
#405060 #604040 #606040
monochromatic
#0F1317 #28313B #405060 #586F85 #768DA4

Accessibility & contrast

On white

8.29
#405060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#405060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405060
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405060#FFFFFF#000000##FFFFFF
##4050601.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5061
Deuteranopia (green-blind)
#464D60
Tritanopia (blue-blind)
#365455
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405060;
/* rgb */ color: rgb(64, 80, 96);
/* oklch */ color: oklch(42.4% 0.033 248.6);
Tailwind
colors: {
  custom: {
    50: '#76818d',
    500: '#405060',
    950: '#000000',
  },
}
SCSS
$custom: #405060;
$custom-light: #76818d;
$custom-dark: #000000;
JSON
{
  "hex": "#405060",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 96
  },
  "hsl": {
    "h": 210,
    "s": 20,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.03349,
    "h": 248.6
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#405060
secondary
#907E6C
accent
#946BBD
background
#F7F7F8
surface
#EDEEF0
border
#C8C9CB
text
#080A0C
muted
#7B7C7D

Preview Lab

Preview with #405060

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

Preview Lab → · Contrast checker → · Palette generator →

#405060 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva