#406FCE#406FCE

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

Color values

HEX#406FCE
RGBrgb(64, 111, 206)
HSLhsl(220, 59%, 53%)
HSVhsv(220, 69%, 81%)
CMYKcmyk(68.9%, 46.1%, 0%, 19.2%)
CIE-LABlab(48.15, 15.51, -53.95)
CIE-LCHlch(48.15, 56.14, 286.04°)
OKLaboklab(55.82% -0.0199 -0.1545)
OKLCHoklch(55.82% 0.156 262.6)
XYZxyz(18.9354, 16.9132, 60.6472)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FCE #CE9F40
analogous
#40B6CE #406FCE #5840CE
triadic
#406FCE #CE406F #6FCE40
tetradic
#406FCE #CE40B6 #CE9F40 #40CE58
square
#406FCE #CE40B6 #CE9F40 #40CE58
split-complementary
#406FCE #CE5840 #B6CE40
monochromatic
#1E3B75 #2B54A6 #406FCE #7194DA #A1B8E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406FCE#FFFFFF#000000##FFFFFF
##406FCE1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D2
Deuteranopia (green-blind)
#216CCC
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406fce;
/* rgb */ color: rgb(64, 111, 206);
/* oklch */ color: oklch(55.8% 0.156 262.6);
Tailwind
colors: {
  custom: {
    50: '#8597dd',
    500: '#406fce',
    950: '#000000',
  },
}
SCSS
$custom: #406fce;
$custom-light: #8597dd;
$custom-dark: #000000;
JSON
{
  "hex": "#406fce",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 206
  },
  "hsl": {
    "h": 220.141,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.15578,
    "h": 262.6
  },
  "luminance": 0.16915
}

Semantic roles & 50–950 ramp

primary
#406FCE
secondary
#D4BF96
accent
#AE45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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