#405D7D#405D7D

#405D7D is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.9% C 0.063 H 251.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#405D7D
RGBrgb(64, 93, 125)
HSLhsl(211, 32%, 37%)
HSVhsv(211, 49%, 49%)
CMYKcmyk(48.8%, 25.6%, 0%, 51%)
CIE-LABlab(38.55, -1.23, -21.31)
CIE-LCHlch(38.55, 21.34, 266.69°)
OKLaboklab(46.95% -0.0198 -0.0594)
OKLCHoklch(46.95% 0.063 251.6)
XYZxyz(9.7291, 10.3987, 20.8925)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D7D #7D6040
analogous
#407C7D #405D7D #42407D
triadic
#405D7D #7D405D #5D7D40
tetradic
#405D7D #7D407C #7D6040 #407D42
square
#405D7D #7D407C #7D6040 #407D42
split-complementary
#405D7D #7D4240 #7C7D40
monochromatic
#17212C #2B3F55 #405D7D #557BA5 #7C9ABC

Accessibility & contrast

On white

6.82
#405D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#405D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405D7D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D7D#FFFFFF#000000##FFFFFF
##405D7D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7E
Deuteranopia (green-blind)
#49587C
Tritanopia (blue-blind)
#266468
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #405d7d;
/* rgb */ color: rgb(64, 93, 125);
/* oklch */ color: oklch(46.9% 0.063 251.6);
Tailwind
colors: {
  custom: {
    50: '#788aa2',
    500: '#405d7d',
    950: '#000000',
  },
}
SCSS
$custom: #405d7d;
$custom-light: #788aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#405d7d",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 125
  },
  "hsl": {
    "h": 211.475,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46945,
    "c": 0.06264,
    "h": 251.6
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#405D7D
secondary
#A68E73
accent
#965FC8
background
#F7F8FA
surface
#EDF0F3
border
#C8CBCD
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #405D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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