#406FC4#406FC4

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

Color values

HEX#406FC4
RGBrgb(64, 111, 196)
HSLhsl(219, 53%, 51%)
HSVhsv(219, 67%, 77%)
CMYKcmyk(67.3%, 43.4%, 0%, 23.1%)
CIE-LABlab(47.55, 11.92, -49.18)
CIE-LCHlch(47.55, 50.61, 283.63°)
OKLaboklab(55.16% -0.0217 -0.1405)
OKLCHoklch(55.16% 0.142 261.2)
XYZxyz(17.7591, 16.4426, 54.4517)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FC4 #C49540
analogous
#40B1C4 #406FC4 #5340C4
triadic
#406FC4 #C4406F #6FC440
tetradic
#406FC4 #C440B1 #C49540 #40C453
square
#406FC4 #C440B1 #C49540 #40C453
split-complementary
#406FC4 #C45340 #B1C440
monochromatic
#203A69 #2F5498 #406FC4 #6F92D2 #9EB6E1

Accessibility & contrast

On white

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

On black

4.29
#406FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##406FC4#FFFFFF#000000##FFFFFF
##406FC41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4677C7
Deuteranopia (green-blind)
#306BC2
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406fc4;
/* rgb */ color: rgb(64, 111, 196);
/* oklch */ color: oklch(55.2% 0.142 261.2);
Tailwind
colors: {
  custom: {
    50: '#8397d6',
    500: '#406fc4',
    950: '#000000',
  },
}
SCSS
$custom: #406fc4;
$custom-light: #8397d6;
$custom-dark: #000000;
JSON
{
  "hex": "#406fc4",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 196
  },
  "hsl": {
    "h": 218.636,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.14214,
    "h": 261.2
  },
  "luminance": 0.16444
}

Semantic roles & 50–950 ramp

primary
#406FC4
secondary
#CDB893
accent
#A94CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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