#406ED3#406ED3

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

Color values

HEX#406ED3
RGBrgb(64, 110, 211)
HSLhsl(221, 63%, 54%)
HSVhsv(221, 70%, 83%)
CMYKcmyk(69.7%, 47.9%, 0%, 17.3%)
CIE-LABlab(48.19, 17.94, -56.74)
CIE-LCHlch(48.19, 59.51, 287.55°)
OKLaboklab(55.95% -0.0183 -0.1627)
OKLCHoklch(55.95% 0.164 263.6)
XYZxyz(19.4440, 16.9430, 63.8610)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ED3 #D3A540
analogous
#40B8D3 #406ED3 #5C40D3
triadic
#406ED3 #D3406E #6ED340
tetradic
#406ED3 #D340B8 #D3A540 #40D35C
square
#406ED3 #D340B8 #D3A540 #40D35C
split-complementary
#406ED3 #D35C40 #B8D340
monochromatic
#1D3A7C #2852AE #406ED3 #7294DE #A3BAEA

Accessibility & contrast

On white

4.78
#406ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#406ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ED3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ED3#FFFFFF#000000##FFFFFF
##406ED31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#377AD7
Deuteranopia (green-blind)
#0E6CD1
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406ed3;
/* rgb */ color: rgb(64, 110, 211);
/* oklch */ color: oklch(55.9% 0.164 263.6);
Tailwind
colors: {
  custom: {
    50: '#8697e1',
    500: '#406ed3',
    950: '#000000',
  },
}
SCSS
$custom: #406ed3;
$custom-light: #8697e1;
$custom-dark: #000000;
JSON
{
  "hex": "#406ed3",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 211
  },
  "hsl": {
    "h": 221.224,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55948,
    "c": 0.16376,
    "h": 263.6
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#406ED3
secondary
#D7C398
accent
#B242E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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