#406ED2#406ED2

#406ED2 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.9% C 0.162 H 263.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#406ED2
RGBrgb(64, 110, 210)
HSLhsl(221, 62%, 54%)
HSVhsv(221, 70%, 82%)
CMYKcmyk(69.5%, 47.6%, 0%, 17.6%)
CIE-LABlab(48.12, 17.58, -56.28)
CIE-LCHlch(48.12, 58.96, 287.35°)
OKLaboklab(55.88% -0.0185 -0.1613)
OKLCHoklch(55.88% 0.162 263.5)
XYZxyz(19.3190, 16.8930, 63.2028)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ED2 #D2A440
analogous
#40B7D2 #406ED2 #5B40D2
triadic
#406ED2 #D2406E #6ED240
tetradic
#406ED2 #D240B7 #D2A440 #40D25B
square
#406ED2 #D240B7 #D2A440 #40D25B
split-complementary
#406ED2 #D25B40 #B7D240
monochromatic
#1D3A7B #2952AC #406ED2 #7294DE #A3B9E9

Accessibility & contrast

On white

4.80
#406ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#406ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ED2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ED2#FFFFFF#000000##FFFFFF
##406ED21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3879D6
Deuteranopia (green-blind)
#126CD0
Tritanopia (blue-blind)
#008596
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406ed2;
/* rgb */ color: rgb(64, 110, 210);
/* oklch */ color: oklch(55.9% 0.162 263.5);
Tailwind
colors: {
  custom: {
    50: '#8697e0',
    500: '#406ed2',
    950: '#000000',
  },
}
SCSS
$custom: #406ed2;
$custom-light: #8697e0;
$custom-dark: #000000;
JSON
{
  "hex": "#406ed2",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 210
  },
  "hsl": {
    "h": 221.096,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5588,
    "c": 0.1624,
    "h": 263.5
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#406ED2
secondary
#D6C298
accent
#B243E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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