#406AA9#406AA9

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

Color values

HEX#406AA9
RGBrgb(64, 106, 169)
HSLhsl(216, 45%, 46%)
HSVhsv(216, 62%, 66%)
CMYKcmyk(62.1%, 37.3%, 0%, 33.7%)
CIE-LABlab(44.61, 5.49, -38.17)
CIE-LCHlch(44.61, 38.57, 278.18°)
OKLaboklab(52.39% -0.0224 -0.1083)
OKLCHoklch(52.39% 0.111 258.3)
XYZxyz(14.4273, 14.2613, 39.5208)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406AA9 #A97F40
analogous
#409EA9 #406AA9 #4A40A9
triadic
#406AA9 #A9406A #6AA940
tetradic
#406AA9 #A9409E #A97F40 #40A94A
square
#406AA9 #A9409E #A97F40 #40A94A
split-complementary
#406AA9 #A94A40 #9EA940
monochromatic
#1E3250 #2F4E7D #406AA9 #6289C4 #8FABD5

Accessibility & contrast

On white

5.45
#406AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#406AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406AA9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406AA9#FFFFFF#000000##FFFFFF
##406AA91.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAC
Deuteranopia (green-blind)
#4165A8
Tritanopia (blue-blind)
#007881
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #406aa9;
/* rgb */ color: rgb(64, 106, 169);
/* oklch */ color: oklch(52.4% 0.111 258.3);
Tailwind
colors: {
  custom: {
    50: '#7e94c3',
    500: '#406aa9',
    950: '#000000',
  },
}
SCSS
$custom: #406aa9;
$custom-light: #7e94c3;
$custom-dark: #000000;
JSON
{
  "hex": "#406aa9",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 169
  },
  "hsl": {
    "h": 216,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.11057,
    "h": 258.3
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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