#406C8D#406C8D

#406C8D is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.4% C 0.072 H 242.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#406C8D
RGBrgb(64, 108, 141)
HSLhsl(206, 38%, 40%)
HSVhsv(206, 55%, 55%)
CMYKcmyk(54.6%, 23.4%, 0%, 44.7%)
CIE-LABlab(43.85, -5.20, -22.76)
CIE-LCHlch(43.85, 23.35, 257.13°)
OKLaboklab(51.36% -0.0333 -0.0636)
OKLCHoklch(51.36% 0.072 242.4)
XYZxyz(12.2829, 13.7372, 27.1984)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406C8D #8D6140
analogous
#408D87 #406C8D #40468D
triadic
#406C8D #8D406C #6C8D40
tetradic
#406C8D #87408D #8D6140 #468D40
square
#406C8D #87408D #8D6140 #468D40
split-complementary
#406C8D #8D4046 #8D8740
monochromatic
#1A2C39 #2D4C63 #406C8D #578CB3 #81A9C6

Accessibility & contrast

On white

5.60
#406C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#406C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406C8D
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406C8D#FFFFFF#000000##FFFFFF
##406C8D1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8F
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#107477
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #406c8d;
/* rgb */ color: rgb(64, 108, 141);
/* oklch */ color: oklch(51.4% 0.072 242.4);
Tailwind
colors: {
  custom: {
    50: '#7a96ae',
    500: '#406c8d',
    950: '#000000',
  },
}
SCSS
$custom: #406c8d;
$custom-light: #7a96ae;
$custom-dark: #000000;
JSON
{
  "hex": "#406c8d",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 141
  },
  "hsl": {
    "h": 205.714,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.07177,
    "h": 242.4
  },
  "luminance": 0.13738
}

Semantic roles & 50–950 ramp

primary
#406C8D
secondary
#B09078
accent
#8C5ACE
background
#F7F9FA
surface
#EEF1F4
border
#C9CBCE
text
#0A0D10
muted
#7C7E7F

Preview Lab

Preview with #406C8D

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

Preview Lab → · Contrast checker → · Palette generator →

#406C8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva