#406AA5#406AA5

#406AA5 is a mid, moderate blue. Relative luminance 0.141; OKLCH L 52.2% C 0.105 H 257.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#406AA5
RGBrgb(64, 106, 165)
HSLhsl(215, 44%, 45%)
HSVhsv(215, 61%, 65%)
CMYKcmyk(61.2%, 35.8%, 0%, 35.3%)
CIE-LABlab(44.40, 4.10, -36.15)
CIE-LCHlch(44.40, 36.38, 276.46°)
OKLaboklab(52.16% -0.0234 -0.1024)
OKLCHoklch(52.16% 0.105 257.1)
XYZxyz(14.0575, 14.1134, 37.5734)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406AA5 #A57B40
analogous
#409CA5 #406AA5 #4940A5
triadic
#406AA5 #A5406A #6AA540
tetradic
#406AA5 #A5409C #A57B40 #40A549
square
#406AA5 #A5409C #A57B40 #40A549
split-complementary
#406AA5 #A54940 #9CA540
monochromatic
#1E314D #2F4E79 #406AA5 #6189C2 #8DAAD3

Accessibility & contrast

On white

5.49
#406AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#406AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406AA5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406AA5#FFFFFF#000000##FFFFFF
##406AA51.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516EA7
Deuteranopia (green-blind)
#4465A4
Tritanopia (blue-blind)
#007780
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #406aa5;
/* rgb */ color: rgb(64, 106, 165);
/* oklch */ color: oklch(52.2% 0.105 257.1);
Tailwind
colors: {
  custom: {
    50: '#7e94c0',
    500: '#406aa5',
    950: '#000000',
  },
}
SCSS
$custom: #406aa5;
$custom-light: #7e94c0;
$custom-dark: #000000;
JSON
{
  "hex": "#406aa5",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 165
  },
  "hsl": {
    "h": 215.05,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52159,
    "c": 0.10502,
    "h": 257.1
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#406AA5
secondary
#BEA583
accent
#9F54D4
background
#F8F9FB
surface
#EFF1F7
border
#CACBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #406AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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