#406EC8#406EC8

#406EC8 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.2% C 0.149 H 262.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#406EC8
RGBrgb(64, 110, 200)
HSLhsl(220, 55%, 52%)
HSVhsv(220, 68%, 78%)
CMYKcmyk(68%, 45%, 0%, 21.6%)
CIE-LABlab(47.51, 13.98, -51.55)
CIE-LCHlch(47.51, 53.41, 285.18°)
OKLaboklab(55.21% -0.02 -0.1474)
OKLCHoklch(55.21% 0.149 262.3)
XYZxyz(18.1119, 16.4102, 56.8453)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EC8 #C89A40
analogous
#40B2C8 #406EC8 #5640C8
triadic
#406EC8 #C8406E #6EC840
tetradic
#406EC8 #C840B2 #C89A40 #40C856
square
#406EC8 #C840B2 #C89A40 #40C856
split-complementary
#406EC8 #C85640 #B2C840
monochromatic
#203A6E #2D539D #406EC8 #7092D6 #9FB6E3

Accessibility & contrast

On white

4.90
#406EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#406EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EC8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EC8#FFFFFF#000000##FFFFFF
##406EC81.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4177CB
Deuteranopia (green-blind)
#286BC6
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406ec8;
/* rgb */ color: rgb(64, 110, 200);
/* oklch */ color: oklch(55.2% 0.149 262.3);
Tailwind
colors: {
  custom: {
    50: '#8497d9',
    500: '#406ec8',
    950: '#000000',
  },
}
SCSS
$custom: #406ec8;
$custom-light: #8497d9;
$custom-dark: #000000;
JSON
{
  "hex": "#406ec8",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 219.706,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.14879,
    "h": 262.3
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#406EC8
secondary
#D0BC94
accent
#AC49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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