#405F71#405F71

#405F71 is a mid, muted cyan. Relative luminance 0.105; OKLCH L 46.9% C 0.047 H 234.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#405F71
RGBrgb(64, 95, 113)
HSLhsl(202, 28%, 35%)
HSVhsv(202, 43%, 44%)
CMYKcmyk(43.4%, 15.9%, 0%, 55.7%)
CIE-LABlab(38.67, -6.17, -13.77)
CIE-LCHlch(38.67, 15.09, 245.85°)
OKLaboklab(46.87% -0.027 -0.038)
OKLCHoklch(46.87% 0.047 234.6)
XYZxyz(9.1862, 10.4661, 17.1557)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F71 #715240
analogous
#40716B #405F71 #404671
triadic
#405F71 #71405F #5F7140
tetradic
#405F71 #6B4071 #715240 #467140
square
#405F71 #6B4071 #715240 #467140
split-complementary
#405F71 #714046 #716B40
monochromatic
#141D23 #2A3E4A #405F71 #568098 #799DB3

Accessibility & contrast

On white

6.79
#405F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#405F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405F71
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F71#FFFFFF#000000##FFFFFF
##405F711.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E72
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#2D6465
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #405f71;
/* rgb */ color: rgb(64, 95, 113);
/* oklch */ color: oklch(46.9% 0.047 234.6);
Tailwind
colors: {
  custom: {
    50: '#778c99',
    500: '#405f71',
    950: '#000000',
  },
}
SCSS
$custom: #405f71;
$custom-light: #778c99;
$custom-dark: #000000;
JSON
{
  "hex": "#405f71",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 113
  },
  "hsl": {
    "h": 202.041,
    "s": 27.684,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46872,
    "c": 0.04664,
    "h": 234.6
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#405F71
secondary
#9E806F
accent
#8764C4
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#090C0E
muted
#7B7D7E

Preview Lab

Preview with #405F71

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

Preview Lab → · Contrast checker → · Palette generator →

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