#406DD5#406DD5

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

Color values

HEX#406DD5
RGBrgb(64, 109, 213)
HSLhsl(222, 64%, 54%)
HSVhsv(222, 70%, 84%)
CMYKcmyk(70%, 48.8%, 0%, 16.5%)
CIE-LABlab(48.04, 19.29, -58.11)
CIE-LCHlch(48.04, 61.23, 288.36°)
OKLaboklab(55.88% -0.0172 -0.1668)
OKLCHoklch(55.88% 0.168 264.1)
XYZxyz(19.5890, 16.8293, 65.1539)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DD5 #D5A840
analogous
#40B8D5 #406DD5 #5E40D5
triadic
#406DD5 #D5406D #6DD540
tetradic
#406DD5 #D540B8 #D5A840 #40D55E
square
#406DD5 #D540B8 #D5A840 #40D55E
split-complementary
#406DD5 #D55E40 #B8D540
monochromatic
#1C3A7F #2751B1 #406DD5 #7293E0 #A4BAEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406DD5#FFFFFF#000000##FFFFFF
##406DD51.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)
#3279D9
Deuteranopia (green-blind)
#006CD3
Tritanopia (blue-blind)
#008697
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406dd5;
/* rgb */ color: rgb(64, 109, 213);
/* oklch */ color: oklch(55.9% 0.168 264.1);
Tailwind
colors: {
  custom: {
    50: '#8696e3',
    500: '#406dd5',
    950: '#000000',
  },
}
SCSS
$custom: #406dd5;
$custom-light: #8696e3;
$custom-dark: #000000;
JSON
{
  "hex": "#406dd5",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 213
  },
  "hsl": {
    "h": 221.879,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5588,
    "c": 0.16766,
    "h": 264.1
  },
  "luminance": 0.16831
}

Semantic roles & 50–950 ramp

primary
#406DD5
secondary
#D8C599
accent
#B541E7
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #406DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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