#406DAE#406DAE

#406DAE is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.4% C 0.114 H 257.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#406DAE
RGBrgb(64, 109, 174)
HSLhsl(215, 46%, 47%)
HSVhsv(215, 63%, 68%)
CMYKcmyk(63.2%, 37.4%, 0%, 31.8%)
CIE-LABlab(45.75, 5.37, -39.30)
CIE-LCHlch(45.75, 39.66, 277.78°)
OKLaboklab(53.37% -0.0244 -0.1115)
OKLCHoklch(53.37% 0.114 257.6)
XYZxyz(15.2203, 15.0818, 42.1452)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DAE #AE8140
analogous
#40A4AE #406DAE #4A40AE
triadic
#406DAE #AE406D #6DAE40
tetradic
#406DAE #AE40A4 #AE8140 #40AE4A
square
#406DAE #AE40A4 #AE8140 #40AE4A
split-complementary
#406DAE #AE4A40 #A4AE40
monochromatic
#1F3555 #305181 #406DAE #658DC6 #92AED7

Accessibility & contrast

On white

5.23
#406DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#406DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DAE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DAE#FFFFFF#000000##FFFFFF
##406DAE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5172B1
Deuteranopia (green-blind)
#4268AD
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406dae;
/* rgb */ color: rgb(64, 109, 174);
/* oklch */ color: oklch(53.4% 0.114 257.6);
Tailwind
colors: {
  custom: {
    50: '#7f96c6',
    500: '#406dae',
    950: '#000000',
  },
}
SCSS
$custom: #406dae;
$custom-light: #7f96c6;
$custom-dark: #000000;
JSON
{
  "hex": "#406dae",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 174
  },
  "hsl": {
    "h": 215.455,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53366,
    "c": 0.11416,
    "h": 257.6
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#406DAE
secondary
#C2AA88
accent
#A052D6
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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