#406D8D#406D8D

#406D8D is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.6% C 0.071 H 241.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#406D8D
RGBrgb(64, 109, 141)
HSLhsl(205, 38%, 40%)
HSVhsv(205, 55%, 55%)
CMYKcmyk(54.6%, 22.7%, 0%, 44.7%)
CIE-LABlab(44.16, -5.80, -22.29)
CIE-LCHlch(44.16, 23.03, 255.42°)
OKLaboklab(51.6% -0.0345 -0.0622)
OKLCHoklch(51.6% 0.071 241)
XYZxyz(12.3890, 13.9493, 27.2338)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406D8D #8D6040
analogous
#408D86 #406D8D #40468D
triadic
#406D8D #8D406D #6D8D40
tetradic
#406D8D #86408D #8D6040 #468D40
square
#406D8D #86408D #8D6040 #468D40
split-complementary
#406D8D #8D4046 #8D8640
monochromatic
#1A2C39 #2D4C63 #406D8D #578DB3 #81A9C6

Accessibility & contrast

On white

5.54
#406D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#406D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406D8D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406D8D#FFFFFF#000000##FFFFFF
##406D8D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8F
Deuteranopia (green-blind)
#54658C
Tritanopia (blue-blind)
#107578
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #406d8d;
/* rgb */ color: rgb(64, 109, 141);
/* oklch */ color: oklch(51.6% 0.071 241.0);
Tailwind
colors: {
  custom: {
    50: '#7a96ae',
    500: '#406d8d',
    950: '#000000',
  },
}
SCSS
$custom: #406d8d;
$custom-light: #7a96ae;
$custom-dark: #000000;
JSON
{
  "hex": "#406d8d",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 141
  },
  "hsl": {
    "h": 204.935,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.07115,
    "h": 241
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#406D8D
secondary
#B09078
accent
#8A5ACE
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0D10
muted
#7C7E7F

Preview Lab

Preview with #406D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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