#406BD6#406BD6

#406BD6 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.5% C 0.171 H 264.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#406BD6
RGBrgb(64, 107, 214)
HSLhsl(223, 65%, 55%)
HSVhsv(223, 70%, 84%)
CMYKcmyk(70.1%, 50%, 0%, 16.1%)
CIE-LABlab(47.57, 20.91, -59.45)
CIE-LCHlch(47.57, 63.02, 289.38°)
OKLaboklab(55.54% -0.0153 -0.1707)
OKLCHoklch(55.54% 0.171 264.9)
XYZxyz(19.5054, 16.4584, 65.7541)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BD6 #D6AB40
analogous
#40B6D6 #406BD6 #6040D6
triadic
#406BD6 #D6406B #6BD640
tetradic
#406BD6 #D640B6 #D6AB40 #40D660
square
#406BD6 #D640B6 #D6AB40 #40D660
split-complementary
#406BD6 #D66040 #B6D640
monochromatic
#1B3880 #264EB2 #406BD6 #7292E1 #A5B9EC

Accessibility & contrast

On white

4.89
#406BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#406BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BD6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BD6#FFFFFF#000000##FFFFFF
##406BD61.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C78DA
Deuteranopia (green-blind)
#006AD4
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406bd6;
/* rgb */ color: rgb(64, 107, 214);
/* oklch */ color: oklch(55.5% 0.171 264.9);
Tailwind
colors: {
  custom: {
    50: '#8694e3',
    500: '#406bd6',
    950: '#000000',
  },
}
SCSS
$custom: #406bd6;
$custom-light: #8694e3;
$custom-dark: #000000;
JSON
{
  "hex": "#406bd6",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 214
  },
  "hsl": {
    "h": 222.8,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.17142,
    "h": 264.9
  },
  "luminance": 0.1646
}

Semantic roles & 50–950 ramp

primary
#406BD6
secondary
#D9C699
accent
#B840E8
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0D0D15
muted
#7D7E84

Preview Lab

Preview with #406BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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