#406ED0#406ED0

#406ED0 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.7% C 0.160 H 263.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#406ED0
RGBrgb(64, 110, 208)
HSLhsl(221, 61%, 53%)
HSVhsv(221, 69%, 82%)
CMYKcmyk(69.2%, 47.1%, 0%, 18.4%)
CIE-LABlab(48.00, 16.86, -55.34)
CIE-LCHlch(48.00, 57.85, 286.94°)
OKLaboklab(55.74% -0.0187 -0.1586)
OKLCHoklch(55.74% 0.16 263.3)
XYZxyz(19.0714, 16.7940, 61.8988)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ED0 #D0A240
analogous
#40B6D0 #406ED0 #5A40D0
triadic
#406ED0 #D0406E #6ED040
tetradic
#406ED0 #D040B6 #D0A240 #40D05A
square
#406ED0 #D040B6 #D0A240 #40D05A
split-complementary
#406ED0 #D05A40 #B6D040
monochromatic
#1E3A78 #2A52A9 #406ED0 #7193DC #A2B9E8

Accessibility & contrast

On white

4.82
#406ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#406ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ED0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ED0#FFFFFF#000000##FFFFFF
##406ED01.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A79D4
Deuteranopia (green-blind)
#186CCE
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406ed0;
/* rgb */ color: rgb(64, 110, 208);
/* oklch */ color: oklch(55.7% 0.160 263.3);
Tailwind
colors: {
  custom: {
    50: '#8597df',
    500: '#406ed0',
    950: '#000000',
  },
}
SCSS
$custom: #406ed0;
$custom-light: #8597df;
$custom-dark: #000000;
JSON
{
  "hex": "#406ed0",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 208
  },
  "hsl": {
    "h": 220.833,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.15969,
    "h": 263.3
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#406ED0
secondary
#D5C197
accent
#B144E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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