#406FC8#406FC8

#406FC8 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.4% C 0.148 H 261.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#406FC8
RGBrgb(64, 111, 200)
HSLhsl(219, 55%, 52%)
HSVhsv(219, 68%, 78%)
CMYKcmyk(68%, 44.5%, 0%, 21.6%)
CIE-LABlab(47.79, 13.36, -51.10)
CIE-LCHlch(47.79, 52.82, 284.65°)
OKLaboklab(55.42% -0.021 -0.1461)
OKLCHoklch(55.42% 0.148 261.8)
XYZxyz(18.2204, 16.6272, 56.8815)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FC8 #C89940
analogous
#40B3C8 #406FC8 #5540C8
triadic
#406FC8 #C8406F #6FC840
tetradic
#406FC8 #C840B3 #C89940 #40C855
square
#406FC8 #C840B3 #C89940 #40C855
split-complementary
#406FC8 #C85540 #B3C840
monochromatic
#203B6E #2D549D #406FC8 #7093D6 #9FB7E3

Accessibility & contrast

On white

4.85
#406FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#406FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FC8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FC8#FFFFFF#000000##FFFFFF
##406FC81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4378CB
Deuteranopia (green-blind)
#2B6CC6
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406fc8;
/* rgb */ color: rgb(64, 111, 200);
/* oklch */ color: oklch(55.4% 0.148 261.8);
Tailwind
colors: {
  custom: {
    50: '#8497d9',
    500: '#406fc8',
    950: '#000000',
  },
}
SCSS
$custom: #406fc8;
$custom-light: #8497d9;
$custom-dark: #000000;
JSON
{
  "hex": "#406fc8",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 200
  },
  "hsl": {
    "h": 219.265,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55423,
    "c": 0.14762,
    "h": 261.8
  },
  "luminance": 0.16629
}

Semantic roles & 50–950 ramp

primary
#406FC8
secondary
#D0BB94
accent
#AB49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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