#406DD7#406DD7

#406DD7 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.0% C 0.170 H 264.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#406DD7
RGBrgb(64, 109, 215)
HSLhsl(222, 65%, 55%)
HSVhsv(222, 70%, 84%)
CMYKcmyk(70.2%, 49.3%, 0%, 15.7%)
CIE-LABlab(48.17, 20.01, -59.04)
CIE-LCHlch(48.17, 62.34, 288.72°)
OKLaboklab(56.02% -0.0169 -0.1695)
OKLCHoklch(56.02% 0.17 264.3)
XYZxyz(19.8444, 16.9315, 66.4991)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DD7 #D7AA40
analogous
#40B9D7 #406DD7 #5E40D7
triadic
#406DD7 #D7406D #6DD740
tetradic
#406DD7 #D740B9 #D7AA40 #40D75E
square
#406DD7 #D740B9 #D7AA40 #40D75E
split-complementary
#406DD7 #D75E40 #B9D740
monochromatic
#1B3A81 #2650B4 #406DD7 #7394E2 #A5BAEC

Accessibility & contrast

On white

4.79
#406DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406DD7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DD7#FFFFFF#000000##FFFFFF
##406DD71.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#307ADB
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406dd7;
/* rgb */ color: rgb(64, 109, 215);
/* oklch */ color: oklch(56.0% 0.170 264.3);
Tailwind
colors: {
  custom: {
    50: '#8796e4',
    500: '#406dd7',
    950: '#000000',
  },
}
SCSS
$custom: #406dd7;
$custom-light: #8796e4;
$custom-dark: #000000;
JSON
{
  "hex": "#406dd7",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 215
  },
  "hsl": {
    "h": 222.119,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5602,
    "c": 0.17035,
    "h": 264.3
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#406DD7
secondary
#D9C69A
accent
#B63FE8
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #406DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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