#406DB9#406DB9

#406DB9 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.0% C 0.129 H 260.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#406DB9
RGBrgb(64, 109, 185)
HSLhsl(218, 49%, 49%)
HSVhsv(218, 65%, 73%)
CMYKcmyk(65.4%, 41.1%, 0%, 27.5%)
CIE-LABlab(46.35, 9.25, -44.74)
CIE-LCHlch(46.35, 45.69, 281.68°)
OKLaboklab(54.03% -0.0219 -0.1275)
OKLCHoklch(54.03% 0.129 260.3)
XYZxyz(16.3368, 15.5285, 48.0259)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DB9 #B98C40
analogous
#40AAB9 #406DB9 #5040B9
triadic
#406DB9 #B9406D #6DB940
tetradic
#406DB9 #B940AA #B98C40 #40B950
square
#406DB9 #B940AA #B98C40 #40B950
split-complementary
#406DB9 #B95040 #AAB940
monochromatic
#21375E #30528C #406DB9 #6B8FCC #98B1DB

Accessibility & contrast

On white

5.11
#406DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#406DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DB9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DB9#FFFFFF#000000##FFFFFF
##406DB91.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#3869B7
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406db9;
/* rgb */ color: rgb(64, 109, 185);
/* oklch */ color: oklch(54.0% 0.129 260.3);
Tailwind
colors: {
  custom: {
    50: '#8196ce',
    500: '#406db9',
    950: '#000000',
  },
}
SCSS
$custom: #406db9;
$custom-light: #8196ce;
$custom-dark: #000000;
JSON
{
  "hex": "#406db9",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 185
  },
  "hsl": {
    "h": 217.686,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.12935,
    "h": 260.3
  },
  "luminance": 0.1553
}

Semantic roles & 50–950 ramp

primary
#406DB9
secondary
#C7B28E
accent
#A550D8
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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