#406DD1#406DD1

#406DD1 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.6% C 0.162 H 263.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#406DD1
RGBrgb(64, 109, 209)
HSLhsl(221, 61%, 54%)
HSVhsv(221, 69%, 82%)
CMYKcmyk(69.4%, 47.8%, 0%, 18%)
CIE-LABlab(47.79, 17.85, -56.25)
CIE-LCHlch(47.79, 59.01, 287.61°)
OKLaboklab(55.6% -0.0177 -0.1613)
OKLCHoklch(55.6% 0.162 263.7)
XYZxyz(19.0876, 16.6288, 62.5130)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DD1 #D1A440
analogous
#40B5D1 #406DD1 #5B40D1
triadic
#406DD1 #D1406D #6DD140
tetradic
#406DD1 #D140B5 #D1A440 #40D15B
square
#406DD1 #D140B5 #D1A440 #40D15B
split-complementary
#406DD1 #D15B40 #B5D140
monochromatic
#1D3A79 #2951AB #406DD1 #7193DD #A3B8E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406DD1#FFFFFF#000000##FFFFFF
##406DD11.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)
#3778D5
Deuteranopia (green-blind)
#106BCF
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406dd1;
/* rgb */ color: rgb(64, 109, 209);
/* oklch */ color: oklch(55.6% 0.162 263.7);
Tailwind
colors: {
  custom: {
    50: '#8596e0',
    500: '#406dd1',
    950: '#000000',
  },
}
SCSS
$custom: #406dd1;
$custom-light: #8596e0;
$custom-dark: #000000;
JSON
{
  "hex": "#406dd1",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 209
  },
  "hsl": {
    "h": 221.379,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55602,
    "c": 0.16225,
    "h": 263.7
  },
  "luminance": 0.16631
}

Semantic roles & 50–950 ramp

primary
#406DD1
secondary
#D5C297
accent
#B244E4
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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