#405877#405877

#405877 is a mid, muted cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.059 H 255.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#405877
RGBrgb(64, 88, 119)
HSLhsl(214, 30%, 36%)
HSVhsv(214, 46%, 47%)
CMYKcmyk(46.2%, 26.1%, 0%, 53.3%)
CIE-LABlab(36.74, -0.02, -20.42)
CIE-LCHlch(36.74, 20.42, 269.94°)
OKLaboklab(45.44% -0.0151 -0.0569)
OKLCHoklch(45.44% 0.059 255.1)
XYZxyz(8.9328, 9.4008, 18.7930)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405877 #775F40
analogous
#407377 #405877 #434077
triadic
#405877 #774058 #587740
tetradic
#405877 #774073 #775F40 #407743
square
#405877 #774073 #775F40 #407743
split-complementary
#405877 #774340 #737740
monochromatic
#151D27 #2B3B4F #405877 #55759F #7A95B7

Accessibility & contrast

On white

7.29
#405877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#405877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405877
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405877#FFFFFF#000000##FFFFFF
##4058771.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5978
Deuteranopia (green-blind)
#465476
Tritanopia (blue-blind)
#2B5F63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405877;
/* rgb */ color: rgb(64, 88, 119);
/* oklch */ color: oklch(45.4% 0.059 255.1);
Tailwind
colors: {
  custom: {
    50: '#78879e',
    500: '#405877',
    950: '#000000',
  },
}
SCSS
$custom: #405877;
$custom-light: #78879e;
$custom-dark: #000000;
JSON
{
  "hex": "#405877",
  "rgb": {
    "r": 64,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 213.818,
    "s": 30.055,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.05886,
    "h": 255.1
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#405877
secondary
#A28D71
accent
#9A62C6
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090B0E
muted
#7B7C7E

Preview Lab

Preview with #405877

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

Preview Lab → · Contrast checker → · Palette generator →

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