#406BBD#406BBD

#406BBD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.8% C 0.137 H 262.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#406BBD
RGBrgb(64, 107, 189)
HSLhsl(219, 49%, 50%)
HSVhsv(219, 66%, 74%)
CMYKcmyk(66.1%, 43.4%, 0%, 25.9%)
CIE-LABlab(46.01, 11.93, -47.60)
CIE-LCHlch(46.01, 49.07, 284.07°)
OKLaboklab(53.85% -0.0191 -0.1359)
OKLCHoklch(53.85% 0.137 262)
XYZxyz(16.5541, 15.2779, 50.2108)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BBD #BD9240
analogous
#40AABD #406BBD #5440BD
triadic
#406BBD #BD406B #6BBD40
tetradic
#406BBD #BD40AA #BD9240 #40BD54
square
#406BBD #BD40AA #BD9240 #40BD54
split-complementary
#406BBD #BD5440 #AABD40
monochromatic
#213762 #31518F #406BBD #6D8ECD #9AB1DD

Accessibility & contrast

On white

5.18
#406BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#406BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BBD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BBD#FFFFFF#000000##FFFFFF
##406BBD1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473C0
Deuteranopia (green-blind)
#3068BB
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406bbd;
/* rgb */ color: rgb(64, 107, 189);
/* oklch */ color: oklch(53.8% 0.137 262.0);
Tailwind
colors: {
  custom: {
    50: '#8294d1',
    500: '#406bbd',
    950: '#000000',
  },
}
SCSS
$custom: #406bbd;
$custom-light: #8294d1;
$custom-dark: #000000;
JSON
{
  "hex": "#406bbd",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 189
  },
  "hsl": {
    "h": 219.36,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53845,
    "c": 0.13723,
    "h": 262
  },
  "luminance": 0.1528
}

Semantic roles & 50–950 ramp

primary
#406BBD
secondary
#C9B590
accent
#A94FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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