#406EDE#406EDE

#406EDE is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.7% C 0.179 H 264.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#406EDE
RGBrgb(64, 110, 222)
HSLhsl(223, 71%, 56%)
HSVhsv(223, 71%, 87%)
CMYKcmyk(71.2%, 50.5%, 0%, 12.9%)
CIE-LABlab(48.90, 21.90, -61.84)
CIE-LCHlch(48.90, 65.60, 289.51°)
OKLaboklab(56.72% -0.0169 -0.1777)
OKLCHoklch(56.72% 0.179 264.6)
XYZxyz(20.8705, 17.5136, 71.3736)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EDE #DEB040
analogous
#40BDDE #406EDE #6140DE
triadic
#406EDE #DE406E #6EDE40
tetradic
#406EDE #DE40BD #DEB040 #40DE61
square
#406EDE #DE40BD #DEB040 #40DE61
split-complementary
#406EDE #DE6140 #BDDE40
monochromatic
#183A8B #214FC0 #406EDE #7496E7 #A8BDF0

Accessibility & contrast

On white

4.66
#406EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#406EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #406EDE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EDE#FFFFFF#000000##FFFFFF
##406EDE1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#297CE2
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #406ede;
/* rgb */ color: rgb(64, 110, 222);
/* oklch */ color: oklch(56.7% 0.179 264.6);
Tailwind
colors: {
  custom: {
    50: '#8897e9',
    500: '#406ede',
    950: '#000000',
  },
}
SCSS
$custom: #406ede;
$custom-light: #8897e9;
$custom-dark: #000000;
JSON
{
  "hex": "#406ede",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 222
  },
  "hsl": {
    "h": 222.532,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5672,
    "c": 0.17853,
    "h": 264.6
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#406EDE
secondary
#DECB9C
accent
#B93AED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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