#405D84#405D84

#405D84 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.3% C 0.072 H 256.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#405D84
RGBrgb(64, 93, 132)
HSLhsl(214, 35%, 38%)
HSVhsv(214, 52%, 52%)
CMYKcmyk(51.5%, 29.5%, 0%, 48.2%)
CIE-LABlab(38.87, 1.03, -25.08)
CIE-LCHlch(38.87, 25.10, 272.36°)
OKLaboklab(47.3% -0.0174 -0.0703)
OKLCHoklch(47.3% 0.072 256.1)
XYZxyz(10.1921, 10.5839, 23.3311)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D84 #846740
analogous
#407F84 #405D84 #454084
triadic
#405D84 #84405D #5D8440
tetradic
#405D84 #84407F #846740 #408445
square
#405D84 #84407F #846740 #408445
split-complementary
#405D84 #844540 #7F8440
monochromatic
#182332 #2C405B #405D84 #557AAC #7E9AC0

Accessibility & contrast

On white

6.74
#405D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#405D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405D84
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D84#FFFFFF#000000##FFFFFF
##405D841.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F86
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#20666B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #405d84;
/* rgb */ color: rgb(64, 93, 132);
/* oklch */ color: oklch(47.3% 0.072 256.1);
Tailwind
colors: {
  custom: {
    50: '#798aa8',
    500: '#405d84',
    950: '#000000',
  },
}
SCSS
$custom: #405d84;
$custom-light: #798aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#405d84",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 132
  },
  "hsl": {
    "h": 214.412,
    "s": 34.694,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.07242,
    "h": 256.1
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#405D84
secondary
#AB9475
accent
#9C5DCB
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #405D84

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

Preview Lab → · Contrast checker → · Palette generator →

#405D84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva