#406ED1#406ED1

#406ED1 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.8% C 0.161 H 263.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#406ED1
RGBrgb(64, 110, 209)
HSLhsl(221, 61%, 54%)
HSVhsv(221, 69%, 82%)
CMYKcmyk(69.4%, 47.4%, 0%, 18%)
CIE-LABlab(48.06, 17.22, -55.81)
CIE-LCHlch(48.06, 58.40, 287.15°)
OKLaboklab(55.81% -0.0186 -0.16)
OKLCHoklch(55.81% 0.161 263.4)
XYZxyz(19.1948, 16.8433, 62.5487)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ED1 #D1A340
analogous
#40B6D1 #406ED1 #5B40D1
triadic
#406ED1 #D1406E #6ED140
tetradic
#406ED1 #D140B6 #D1A340 #40D15B
square
#406ED1 #D140B6 #D1A340 #40D15B
split-complementary
#406ED1 #D15B40 #B6D140
monochromatic
#1D3A79 #2952AB #406ED1 #7193DD #A3B9E9

Accessibility & contrast

On white

4.81
#406ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#406ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ED1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ED1#FFFFFF#000000##FFFFFF
##406ED11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3979D5
Deuteranopia (green-blind)
#156CCF
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406ed1;
/* rgb */ color: rgb(64, 110, 209);
/* oklch */ color: oklch(55.8% 0.161 263.4);
Tailwind
colors: {
  custom: {
    50: '#8597e0',
    500: '#406ed1',
    950: '#000000',
  },
}
SCSS
$custom: #406ed1;
$custom-light: #8597e0;
$custom-dark: #000000;
JSON
{
  "hex": "#406ed1",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 209
  },
  "hsl": {
    "h": 220.966,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55812,
    "c": 0.16105,
    "h": 263.4
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#406ED1
secondary
#D5C297
accent
#B144E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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