#406EAA#406EAA

#406EAA is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.4% C 0.108 H 255.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#406EAA
RGBrgb(64, 110, 170)
HSLhsl(214, 45%, 46%)
HSVhsv(214, 62%, 67%)
CMYKcmyk(62.4%, 35.3%, 0%, 33.3%)
CIE-LABlab(45.83, 3.36, -36.83)
CIE-LCHlch(45.83, 36.98, 275.21°)
OKLaboklab(53.36% -0.0265 -0.1043)
OKLCHoklch(53.36% 0.108 255.7)
XYZxyz(14.9434, 15.1428, 40.1578)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EAA #AA7C40
analogous
#40A3AA #406EAA #4740AA
triadic
#406EAA #AA406E #6EAA40
tetradic
#406EAA #AA40A3 #AA7C40 #40AA47
square
#406EAA #AA40A3 #AA7C40 #40AA47
split-complementary
#406EAA #AA4740 #A3AA40
monochromatic
#1F3451 #2F517E #406EAA #638DC4 #8FAED5

Accessibility & contrast

On white

5.21
#406EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#406EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EAA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EAA#FFFFFF#000000##FFFFFF
##406EAA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AC
Deuteranopia (green-blind)
#4668A9
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406eaa;
/* rgb */ color: rgb(64, 110, 170);
/* oklch */ color: oklch(53.4% 0.108 255.7);
Tailwind
colors: {
  custom: {
    50: '#7e97c3',
    500: '#406eaa',
    950: '#000000',
  },
}
SCSS
$custom: #406eaa;
$custom-light: #7e97c3;
$custom-dark: #000000;
JSON
{
  "hex": "#406eaa",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 170
  },
  "hsl": {
    "h": 213.962,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53362,
    "c": 0.10762,
    "h": 255.7
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#406EAA
secondary
#C0A786
accent
#9C53D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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