#406DD6#406DD6

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

Color values

HEX#406DD6
RGBrgb(64, 109, 214)
HSLhsl(222, 65%, 55%)
HSVhsv(222, 70%, 84%)
CMYKcmyk(70.1%, 49.1%, 0%, 16.1%)
CIE-LABlab(48.11, 19.65, -58.58)
CIE-LCHlch(48.11, 61.79, 288.54°)
OKLaboklab(55.95% -0.017 -0.1681)
OKLCHoklch(55.95% 0.169 264.2)
XYZxyz(19.7163, 16.8803, 65.8244)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DD6 #D6A940
analogous
#40B8D6 #406DD6 #5E40D6
triadic
#406DD6 #D6406D #6DD640
tetradic
#406DD6 #D640B8 #D6A940 #40D65E
square
#406DD6 #D640B8 #D6A940 #40D65E
split-complementary
#406DD6 #D65E40 #B8D640
monochromatic
#1B3A80 #2650B2 #406DD6 #7294E1 #A5BAEC

Accessibility & contrast

On white

4.80
#406DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#406DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DD6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DD6#FFFFFF#000000##FFFFFF
##406DD61.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3179DA
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#008697
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406dd6;
/* rgb */ color: rgb(64, 109, 214);
/* oklch */ color: oklch(55.9% 0.169 264.2);
Tailwind
colors: {
  custom: {
    50: '#8696e3',
    500: '#406dd6',
    950: '#000000',
  },
}
SCSS
$custom: #406dd6;
$custom-light: #8696e3;
$custom-dark: #000000;
JSON
{
  "hex": "#406dd6",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 214
  },
  "hsl": {
    "h": 222,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.16901,
    "h": 264.2
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#406DD6
secondary
#D9C699
accent
#B540E8
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0D0D15
muted
#7D7E84

Preview Lab

Preview with #406DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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