#406BB9#406BB9

#406BB9 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.6% C 0.132 H 261.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#406BB9
RGBrgb(64, 107, 185)
HSLhsl(219, 49%, 49%)
HSVhsv(219, 65%, 73%)
CMYKcmyk(65.4%, 42.2%, 0%, 27.5%)
CIE-LABlab(45.78, 10.51, -45.65)
CIE-LCHlch(45.78, 46.84, 282.96°)
OKLaboklab(53.59% -0.0199 -0.1302)
OKLCHoklch(53.59% 0.132 261.3)
XYZxyz(16.1259, 15.1066, 47.9556)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BB9 #B98E40
analogous
#40A8B9 #406BB9 #5240B9
triadic
#406BB9 #B9406B #6BB940
tetradic
#406BB9 #B940A8 #B98E40 #40B952
square
#406BB9 #B940A8 #B98E40 #40B952
split-complementary
#406BB9 #B95240 #A8B940
monochromatic
#21365E #30518C #406BB9 #6B8DCC #98B0DB

Accessibility & contrast

On white

5.22
#406BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406BB9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BB9#FFFFFF#000000##FFFFFF
##406BB91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4772BC
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406bb9;
/* rgb */ color: rgb(64, 107, 185);
/* oklch */ color: oklch(53.6% 0.132 261.3);
Tailwind
colors: {
  custom: {
    50: '#8194ce',
    500: '#406bb9',
    950: '#000000',
  },
}
SCSS
$custom: #406bb9;
$custom-light: #8194ce;
$custom-dark: #000000;
JSON
{
  "hex": "#406bb9",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 185
  },
  "hsl": {
    "h": 218.678,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5359,
    "c": 0.13168,
    "h": 261.3
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#406BB9
secondary
#C7B38E
accent
#A850D8
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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