#406ECD#406ECD

#406ECD is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.5% C 0.156 H 262.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#406ECD
RGBrgb(64, 110, 205)
HSLhsl(220, 59%, 53%)
HSVhsv(220, 69%, 80%)
CMYKcmyk(68.8%, 46.3%, 0%, 19.6%)
CIE-LABlab(47.81, 15.78, -53.92)
CIE-LCHlch(47.81, 56.18, 286.31°)
OKLaboklab(55.54% -0.0192 -0.1544)
OKLCHoklch(55.54% 0.156 262.9)
XYZxyz(18.7058, 16.6477, 59.9733)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ECD #CD9F40
analogous
#40B4CD #406ECD #5940CD
triadic
#406ECD #CD406E #6ECD40
tetradic
#406ECD #CD40B4 #CD9F40 #40CD59
square
#406ECD #CD40B4 #CD9F40 #40CD59
split-complementary
#406ECD #CD5940 #B4CD40
monochromatic
#1E3A74 #2B53A5 #406ECD #7193DA #A1B8E6

Accessibility & contrast

On white

4.85
#406ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#406ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ECD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ECD#FFFFFF#000000##FFFFFF
##406ECD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#1F6BCB
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406ecd;
/* rgb */ color: rgb(64, 110, 205);
/* oklch */ color: oklch(55.5% 0.156 262.9);
Tailwind
colors: {
  custom: {
    50: '#8597dd',
    500: '#406ecd',
    950: '#000000',
  },
}
SCSS
$custom: #406ecd;
$custom-light: #8597dd;
$custom-dark: #000000;
JSON
{
  "hex": "#406ecd",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 220.426,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.15562,
    "h": 262.9
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#406ECD
secondary
#D3BF96
accent
#AF46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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