#406BC1#406BC1

#406BC1 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.1% C 0.143 H 262.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#406BC1
RGBrgb(64, 107, 193)
HSLhsl(220, 51%, 50%)
HSVhsv(220, 67%, 76%)
CMYKcmyk(66.8%, 44.6%, 0%, 24.3%)
CIE-LABlab(46.25, 13.36, -49.53)
CIE-LCHlch(46.25, 51.30, 285.10°)
OKLaboklab(54.1% -0.0184 -0.1416)
OKLCHoklch(54.1% 0.143 262.6)
XYZxyz(16.9943, 15.4540, 52.5290)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BC1 #C19640
analogous
#40ABC1 #406BC1 #5540C1
triadic
#406BC1 #C1406B #6BC140
tetradic
#406BC1 #C140AB #C19640 #40C155
square
#406BC1 #C140AB #C19640 #40C155
split-complementary
#406BC1 #C15540 #ABC140
monochromatic
#213866 #305194 #406BC1 #6E8FD0 #9CB3DF

Accessibility & contrast

On white

5.13
#406BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#406BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BC1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BC1#FFFFFF#000000##FFFFFF
##406BC11.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4174C4
Deuteranopia (green-blind)
#2B68BF
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406bc1;
/* rgb */ color: rgb(64, 107, 193);
/* oklch */ color: oklch(54.1% 0.143 262.6);
Tailwind
colors: {
  custom: {
    50: '#8294d4',
    500: '#406bc1',
    950: '#000000',
  },
}
SCSS
$custom: #406bc1;
$custom-light: #8294d4;
$custom-dark: #000000;
JSON
{
  "hex": "#406bc1",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 193
  },
  "hsl": {
    "h": 220,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.14276,
    "h": 262.6
  },
  "luminance": 0.15456
}

Semantic roles & 50–950 ramp

primary
#406BC1
secondary
#CBB892
accent
#AB4DDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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