#406FC5#406FC5

#406FC5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.2% C 0.144 H 261.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#406FC5
RGBrgb(64, 111, 197)
HSLhsl(219, 53%, 51%)
HSVhsv(219, 68%, 77%)
CMYKcmyk(67.5%, 43.7%, 0%, 22.7%)
CIE-LABlab(47.61, 12.28, -49.66)
CIE-LCHlch(47.61, 51.16, 283.89°)
OKLaboklab(55.23% -0.0215 -0.1419)
OKLCHoklch(55.23% 0.144 261.4)
XYZxyz(17.8733, 16.4883, 55.0531)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FC5 #C59640
analogous
#40B1C5 #406FC5 #5340C5
triadic
#406FC5 #C5406F #6FC540
tetradic
#406FC5 #C540B1 #C59640 #40C553
square
#406FC5 #C540B1 #C59640 #40C553
split-complementary
#406FC5 #C55340 #B1C540
monochromatic
#203A6A #2F5499 #406FC5 #6F92D3 #9EB6E2

Accessibility & contrast

On white

4.89
#406FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#406FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FC5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FC5#FFFFFF#000000##FFFFFF
##406FC51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4678C8
Deuteranopia (green-blind)
#2F6BC3
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406fc5;
/* rgb */ color: rgb(64, 111, 197);
/* oklch */ color: oklch(55.2% 0.144 261.4);
Tailwind
colors: {
  custom: {
    50: '#8397d7',
    500: '#406fc5',
    950: '#000000',
  },
}
SCSS
$custom: #406fc5;
$custom-light: #8397d7;
$custom-dark: #000000;
JSON
{
  "hex": "#406fc5",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 197
  },
  "hsl": {
    "h": 218.797,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.14351,
    "h": 261.4
  },
  "luminance": 0.1649
}

Semantic roles & 50–950 ramp

primary
#406FC5
secondary
#CEB993
accent
#A94BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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