#406BD0#406BD0

#406BD0 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.1% C 0.163 H 264.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#406BD0
RGBrgb(64, 107, 208)
HSLhsl(222, 61%, 53%)
HSVhsv(222, 69%, 82%)
CMYKcmyk(69.2%, 48.6%, 0%, 18.4%)
CIE-LABlab(47.18, 18.75, -56.65)
CIE-LCHlch(47.18, 59.68, 288.31°)
OKLaboklab(55.12% -0.0161 -0.1625)
OKLCHoklch(55.12% 0.163 264.4)
XYZxyz(18.7532, 16.1575, 61.7927)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BD0 #D0A540
analogous
#40B3D0 #406BD0 #5D40D0
triadic
#406BD0 #D0406B #6BD040
tetradic
#406BD0 #D040B3 #D0A540 #40D05D
square
#406BD0 #D040B3 #D0A540 #40D05D
split-complementary
#406BD0 #D05D40 #B3D040
monochromatic
#1E3978 #2A50A9 #406BD0 #7191DC #A2B7E8

Accessibility & contrast

On white

4.96
#406BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406BD0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BD0#FFFFFF#000000##FFFFFF
##406BD01.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3377D4
Deuteranopia (green-blind)
#056ACE
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406bd0;
/* rgb */ color: rgb(64, 107, 208);
/* oklch */ color: oklch(55.1% 0.163 264.4);
Tailwind
colors: {
  custom: {
    50: '#8594df',
    500: '#406bd0',
    950: '#000000',
  },
}
SCSS
$custom: #406bd0;
$custom-light: #8594df;
$custom-dark: #000000;
JSON
{
  "hex": "#406bd0",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 208
  },
  "hsl": {
    "h": 222.083,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55117,
    "c": 0.1633,
    "h": 264.4
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#406BD0
secondary
#D5C297
accent
#B444E4
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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