#406BD8#406BD8

#406BD8 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.7% C 0.174 H 265.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#406BD8
RGBrgb(64, 107, 216)
HSLhsl(223, 66%, 55%)
HSVhsv(223, 70%, 85%)
CMYKcmyk(70.4%, 50.5%, 0%, 15.3%)
CIE-LABlab(47.70, 21.63, -60.37)
CIE-LCHlch(47.70, 64.13, 289.71°)
OKLaboklab(55.68% -0.0151 -0.1734)
OKLCHoklch(55.68% 0.174 265)
XYZxyz(19.7624, 16.5612, 67.1076)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BD8 #D8AD40
analogous
#40B7D8 #406BD8 #6140D8
triadic
#406BD8 #D8406B #6BD840
tetradic
#406BD8 #D840B7 #D8AD40 #40D861
square
#406BD8 #D840B7 #D8AD40 #40D861
split-complementary
#406BD8 #D86140 #B7D840
monochromatic
#1B3883 #254EB6 #406BD8 #7392E2 #A6BAED

Accessibility & contrast

On white

4.87
#406BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#406BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BD8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BD8#FFFFFF#000000##FFFFFF
##406BD81.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2979DC
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406bd8;
/* rgb */ color: rgb(64, 107, 216);
/* oklch */ color: oklch(55.7% 0.174 265.0);
Tailwind
colors: {
  custom: {
    50: '#8794e5',
    500: '#406bd8',
    950: '#000000',
  },
}
SCSS
$custom: #406bd8;
$custom-light: #8794e5;
$custom-dark: #000000;
JSON
{
  "hex": "#406bd8",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 216
  },
  "hsl": {
    "h": 223.026,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55682,
    "c": 0.17411,
    "h": 265
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

primary
#406BD8
secondary
#DAC89A
accent
#B93FE9
background
#F9F9FE
surface
#F1F1FC
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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