#406BAE#406BAE

#406BAE is a mid, moderate blue. Relative luminance 0.147; OKLCH L 52.9% C 0.116 H 259.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#406BAE
RGBrgb(64, 107, 174)
HSLhsl(217, 46%, 47%)
HSVhsv(217, 63%, 68%)
CMYKcmyk(63.2%, 38.5%, 0%, 31.8%)
CIE-LABlab(45.16, 6.62, -40.22)
CIE-LCHlch(45.16, 40.76, 279.34°)
OKLaboklab(52.91% -0.0223 -0.1142)
OKLCHoklch(52.91% 0.116 259)
XYZxyz(15.0093, 14.6600, 42.0749)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BAE #AE8340
analogous
#40A2AE #406BAE #4C40AE
triadic
#406BAE #AE406B #6BAE40
tetradic
#406BAE #AE40A2 #AE8340 #40AE4C
square
#406BAE #AE40A2 #AE8340 #40AE4C
split-complementary
#406BAE #AE4C40 #A2AE40
monochromatic
#1F3455 #304F81 #406BAE #658BC6 #92ADD7

Accessibility & contrast

On white

5.34
#406BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#406BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BAE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BAE#FFFFFF#000000##FFFFFF
##406BAE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E70B1
Deuteranopia (green-blind)
#3E66AD
Tritanopia (blue-blind)
#007A84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #406bae;
/* rgb */ color: rgb(64, 107, 174);
/* oklch */ color: oklch(52.9% 0.116 259.0);
Tailwind
colors: {
  custom: {
    50: '#7f95c6',
    500: '#406bae',
    950: '#000000',
  },
}
SCSS
$custom: #406bae;
$custom-light: #7f95c6;
$custom-dark: #000000;
JSON
{
  "hex": "#406bae",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 174
  },
  "hsl": {
    "h": 216.545,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52914,
    "c": 0.11639,
    "h": 259
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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