#406AC8#406AC8

#406AC8 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.4% C 0.154 H 263.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#406AC8
RGBrgb(64, 106, 200)
HSLhsl(221, 55%, 52%)
HSVhsv(221, 68%, 78%)
CMYKcmyk(68%, 47%, 0%, 21.6%)
CIE-LABlab(46.40, 16.51, -53.32)
CIE-LCHlch(46.40, 55.82, 287.20°)
OKLaboklab(54.36% -0.0163 -0.1527)
OKLCHoklch(54.36% 0.154 263.9)
XYZxyz(17.6900, 15.5664, 56.7047)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406AC8 #C89E40
analogous
#40AEC8 #406AC8 #5A40C8
triadic
#406AC8 #C8406A #6AC840
tetradic
#406AC8 #C840AE #C89E40 #40C85A
square
#406AC8 #C840AE #C89E40 #40C85A
split-complementary
#406AC8 #C85A40 #AEC840
monochromatic
#20386E #2D509D #406AC8 #708FD6 #9FB4E3

Accessibility & contrast

On white

5.11
#406AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#406AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406AC8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406AC8#FFFFFF#000000##FFFFFF
##406AC81.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3975CB
Deuteranopia (green-blind)
#1B68C6
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406ac8;
/* rgb */ color: rgb(64, 106, 200);
/* oklch */ color: oklch(54.4% 0.154 263.9);
Tailwind
colors: {
  custom: {
    50: '#8494d9',
    500: '#406ac8',
    950: '#000000',
  },
}
SCSS
$custom: #406ac8;
$custom-light: #8494d9;
$custom-dark: #000000;
JSON
{
  "hex": "#406ac8",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 200
  },
  "hsl": {
    "h": 221.471,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.1536,
    "h": 263.9
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#406AC8
secondary
#D0BD94
accent
#B049DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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