#406FBD#406FBD

#406FBD is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.7% C 0.133 H 260.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#406FBD
RGBrgb(64, 111, 189)
HSLhsl(217, 49%, 50%)
HSVhsv(217, 66%, 74%)
CMYKcmyk(66.1%, 41.3%, 0%, 25.9%)
CIE-LABlab(47.15, 9.42, -45.79)
CIE-LCHlch(47.15, 46.75, 281.63°)
OKLaboklab(54.72% -0.0231 -0.1305)
OKLCHoklch(54.72% 0.133 260)
XYZxyz(16.9808, 16.1313, 50.3530)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FBD #BD8E40
analogous
#40AEBD #406FBD #5040BD
triadic
#406FBD #BD406F #6FBD40
tetradic
#406FBD #BD40AE #BD8E40 #40BD50
square
#406FBD #BD40AE #BD8E40 #40BD50
split-complementary
#406FBD #BD5040 #AEBD40
monochromatic
#213962 #31548F #406FBD #6D91CD #9AB3DD

Accessibility & contrast

On white

4.97
#406FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#406FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FBD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FBD#FFFFFF#000000##FFFFFF
##406FBD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B76C0
Deuteranopia (green-blind)
#386ABB
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406fbd;
/* rgb */ color: rgb(64, 111, 189);
/* oklch */ color: oklch(54.7% 0.133 260.0);
Tailwind
colors: {
  custom: {
    50: '#8297d1',
    500: '#406fbd',
    950: '#000000',
  },
}
SCSS
$custom: #406fbd;
$custom-light: #8297d1;
$custom-dark: #000000;
JSON
{
  "hex": "#406fbd",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 217.44,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.13254,
    "h": 260
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#406FBD
secondary
#C9B390
accent
#A54FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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