#406AAA#406AAA

#406AAA is a mid, moderate blue. Relative luminance 0.143; OKLCH L 52.4% C 0.112 H 258.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#406AAA
RGBrgb(64, 106, 170)
HSLhsl(216, 45%, 46%)
HSVhsv(216, 62%, 67%)
CMYKcmyk(62.4%, 37.6%, 0%, 33.3%)
CIE-LABlab(44.66, 5.84, -38.68)
CIE-LCHlch(44.66, 39.11, 278.58°)
OKLaboklab(52.45% -0.0222 -0.1097)
OKLCHoklch(52.45% 0.112 258.6)
XYZxyz(14.5215, 14.2990, 40.0171)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406AAA #AA8040
analogous
#409FAA #406AAA #4B40AA
triadic
#406AAA #AA406A #6AAA40
tetradic
#406AAA #AA409F #AA8040 #40AA4B
square
#406AAA #AA409F #AA8040 #40AA4B
split-complementary
#406AAA #AA4B40 #9FAA40
monochromatic
#1F3351 #2F4E7E #406AAA #638AC4 #8FABD5

Accessibility & contrast

On white

5.44
#406AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#406AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406AAA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406AAA#FFFFFF#000000##FFFFFF
##406AAA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#007882
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #406aaa;
/* rgb */ color: rgb(64, 106, 170);
/* oklch */ color: oklch(52.4% 0.112 258.6);
Tailwind
colors: {
  custom: {
    50: '#7e94c3',
    500: '#406aaa',
    950: '#000000',
  },
}
SCSS
$custom: #406aaa;
$custom-light: #7e94c3;
$custom-dark: #000000;
JSON
{
  "hex": "#406aaa",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 216.226,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.11196,
    "h": 258.6
  },
  "luminance": 0.143
}

Semantic roles & 50–950 ramp

primary
#406AAA
secondary
#C0A986
accent
#A153D5
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #406AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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