#406EB9#406EB9

#406EB9 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.3% C 0.128 H 259.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#406EB9
RGBrgb(64, 110, 185)
HSLhsl(217, 49%, 49%)
HSVhsv(217, 65%, 73%)
CMYKcmyk(65.4%, 40.5%, 0%, 27.5%)
CIE-LABlab(46.64, 8.63, -44.29)
CIE-LCHlch(46.64, 45.12, 281.02°)
OKLaboklab(54.25% -0.0229 -0.1261)
OKLCHoklch(54.25% 0.128 259.7)
XYZxyz(16.4441, 15.7430, 48.0616)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EB9 #B98B40
analogous
#40ABB9 #406EB9 #4F40B9
triadic
#406EB9 #B9406E #6EB940
tetradic
#406EB9 #B940AB #B98B40 #40B94F
square
#406EB9 #B940AB #B98B40 #40B94F
split-complementary
#406EB9 #B94F40 #ABB940
monochromatic
#21385E #30538C #406EB9 #6B8FCC #98B2DB

Accessibility & contrast

On white

5.06
#406EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#406EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EB9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EB9#FFFFFF#000000##FFFFFF
##406EB91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BC
Deuteranopia (green-blind)
#3A69B7
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406eb9;
/* rgb */ color: rgb(64, 110, 185);
/* oklch */ color: oklch(54.3% 0.128 259.7);
Tailwind
colors: {
  custom: {
    50: '#8197ce',
    500: '#406eb9',
    950: '#000000',
  },
}
SCSS
$custom: #406eb9;
$custom-light: #8197ce;
$custom-dark: #000000;
JSON
{
  "hex": "#406eb9",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 185
  },
  "hsl": {
    "h": 217.19,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54252,
    "c": 0.1282,
    "h": 259.7
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#406EB9
secondary
#C7B18E
accent
#A450D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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