#406CAE#406CAE

#406CAE is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.1% C 0.115 H 258.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#406CAE
RGBrgb(64, 108, 174)
HSLhsl(216, 46%, 47%)
HSVhsv(216, 63%, 68%)
CMYKcmyk(63.2%, 37.9%, 0%, 31.8%)
CIE-LABlab(45.46, 5.99, -39.76)
CIE-LCHlch(45.46, 40.21, 278.57°)
OKLaboklab(53.14% -0.0234 -0.1129)
OKLCHoklch(53.14% 0.115 258.3)
XYZxyz(15.1142, 14.8697, 42.1098)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CAE #AE8240
analogous
#40A3AE #406CAE #4B40AE
triadic
#406CAE #AE406C #6CAE40
tetradic
#406CAE #AE40A3 #AE8240 #40AE4B
square
#406CAE #AE40A3 #AE8240 #40AE4B
split-complementary
#406CAE #AE4B40 #A3AE40
monochromatic
#1F3455 #305081 #406CAE #658CC6 #92ADD7

Accessibility & contrast

On white

5.28
#406CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#406CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CAE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CAE#FFFFFF#000000##FFFFFF
##406CAE1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F71B1
Deuteranopia (green-blind)
#4067AD
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406cae;
/* rgb */ color: rgb(64, 108, 174);
/* oklch */ color: oklch(53.1% 0.115 258.3);
Tailwind
colors: {
  custom: {
    50: '#7f95c6',
    500: '#406cae',
    950: '#000000',
  },
}
SCSS
$custom: #406cae;
$custom-light: #7f95c6;
$custom-dark: #000000;
JSON
{
  "hex": "#406cae",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 174
  },
  "hsl": {
    "h": 216,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53139,
    "c": 0.11527,
    "h": 258.3
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#406CAE
secondary
#C2AB88
accent
#A152D6
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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