#406BCE#406BCE

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

Color values

HEX#406BCE
RGBrgb(64, 107, 206)
HSLhsl(222, 59%, 53%)
HSVhsv(222, 69%, 81%)
CMYKcmyk(68.9%, 48.1%, 0%, 19.2%)
CIE-LABlab(47.05, 18.03, -55.72)
CIE-LCHlch(47.05, 58.56, 287.93°)
OKLaboklab(54.98% -0.0163 -0.1597)
OKLCHoklch(54.98% 0.161 264.2)
XYZxyz(18.5087, 16.0597, 60.5050)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BCE #CEA340
analogous
#40B2CE #406BCE #5C40CE
triadic
#406BCE #CE406B #6BCE40
tetradic
#406BCE #CE40B2 #CEA340 #40CE5C
square
#406BCE #CE40B2 #CEA340 #40CE5C
split-complementary
#406BCE #CE5C40 #B2CE40
monochromatic
#1E3975 #2B50A6 #406BCE #7191DA #A1B6E7

Accessibility & contrast

On white

4.99
#406BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#406BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BCE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BCE#FFFFFF#000000##FFFFFF
##406BCE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3576D2
Deuteranopia (green-blind)
#0F69CC
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406bce;
/* rgb */ color: rgb(64, 107, 206);
/* oklch */ color: oklch(55.0% 0.161 264.2);
Tailwind
colors: {
  custom: {
    50: '#8594de',
    500: '#406bce',
    950: '#000000',
  },
}
SCSS
$custom: #406bce;
$custom-light: #8594de;
$custom-dark: #000000;
JSON
{
  "hex": "#406bce",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 206
  },
  "hsl": {
    "h": 221.831,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54979,
    "c": 0.16058,
    "h": 264.2
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#406BCE
secondary
#D4C196
accent
#B345E2
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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