#406EAB#406EAB

#406EAB is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.4% C 0.109 H 256.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#406EAB
RGBrgb(64, 110, 171)
HSLhsl(214, 46%, 46%)
HSVhsv(214, 63%, 67%)
CMYKcmyk(62.6%, 35.7%, 0%, 32.9%)
CIE-LABlab(45.88, 3.70, -37.33)
CIE-LCHlch(45.88, 37.51, 275.67°)
OKLaboklab(53.42% -0.0263 -0.1058)
OKLCHoklch(53.42% 0.109 256)
XYZxyz(15.0383, 15.1807, 40.6578)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EAB #AB7D40
analogous
#40A3AB #406EAB #4740AB
triadic
#406EAB #AB406E #6EAB40
tetradic
#406EAB #AB40A3 #AB7D40 #40AB47
square
#406EAB #AB40A3 #AB7D40 #40AB47
split-complementary
#406EAB #AB4740 #A3AB40
monochromatic
#1F3552 #2F517E #406EAB #638DC5 #90AED5

Accessibility & contrast

On white

5.20
#406EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#406EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EAB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EAB#FFFFFF#000000##FFFFFF
##406EAB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AE
Deuteranopia (green-blind)
#4568AA
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406eab;
/* rgb */ color: rgb(64, 110, 171);
/* oklch */ color: oklch(53.4% 0.109 256.0);
Tailwind
colors: {
  custom: {
    50: '#7f97c4',
    500: '#406eab',
    950: '#000000',
  },
}
SCSS
$custom: #406eab;
$custom-light: #7f97c4;
$custom-dark: #000000;
JSON
{
  "hex": "#406eab",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 171
  },
  "hsl": {
    "h": 214.206,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53419,
    "c": 0.10899,
    "h": 256
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#406EAB
secondary
#C1A786
accent
#9D53D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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