#406ECA#406ECA

#406ECA is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.3% C 0.152 H 262.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#406ECA
RGBrgb(64, 110, 202)
HSLhsl(220, 57%, 52%)
HSVhsv(220, 68%, 79%)
CMYKcmyk(68.3%, 45.5%, 0%, 20.8%)
CIE-LABlab(47.63, 14.70, -52.50)
CIE-LCHlch(47.63, 54.52, 285.64°)
OKLaboklab(55.34% -0.0197 -0.1502)
OKLCHoklch(55.34% 0.152 262.5)
XYZxyz(18.3472, 16.5043, 58.0844)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ECA #CA9C40
analogous
#40B3CA #406ECA #5740CA
triadic
#406ECA #CA406E #6ECA40
tetradic
#406ECA #CA40B3 #CA9C40 #40CA57
square
#406ECA #CA40B3 #CA9C40 #40CA57
split-complementary
#406ECA #CA5740 #B3CA40
monochromatic
#1F3A70 #2C53A0 #406ECA #7092D7 #A0B7E5

Accessibility & contrast

On white

4.88
#406ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#406ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ECA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ECA#FFFFFF#000000##FFFFFF
##406ECA1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4078CD
Deuteranopia (green-blind)
#256BC8
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406eca;
/* rgb */ color: rgb(64, 110, 202);
/* oklch */ color: oklch(55.3% 0.152 262.5);
Tailwind
colors: {
  custom: {
    50: '#8497db',
    500: '#406eca',
    950: '#000000',
  },
}
SCSS
$custom: #406eca;
$custom-light: #8497db;
$custom-dark: #000000;
JSON
{
  "hex": "#406eca",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 220,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.15152,
    "h": 262.5
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

primary
#406ECA
secondary
#D1BD95
accent
#AD48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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