#406AC1#406AC1

#406AC1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.9% C 0.144 H 263.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#406AC1
RGBrgb(64, 106, 193)
HSLhsl(220, 51%, 50%)
HSVhsv(220, 67%, 76%)
CMYKcmyk(66.8%, 45.1%, 0%, 24.3%)
CIE-LABlab(45.97, 13.99, -49.98)
CIE-LCHlch(45.97, 51.90, 285.64°)
OKLaboklab(53.89% -0.0174 -0.1429)
OKLCHoklch(53.89% 0.144 263.1)
XYZxyz(16.8906, 15.2467, 52.4945)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406AC1 #C19740
analogous
#40AAC1 #406AC1 #5640C1
triadic
#406AC1 #C1406A #6AC140
tetradic
#406AC1 #C140AA #C19740 #40C156
square
#406AC1 #C140AA #C19740 #40C156
split-complementary
#406AC1 #C15640 #AAC140
monochromatic
#213766 #305094 #406AC1 #6E8ED0 #9CB2DF

Accessibility & contrast

On white

5.19
#406AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#406AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406AC1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406AC1#FFFFFF#000000##FFFFFF
##406AC11.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C4
Deuteranopia (green-blind)
#2867BF
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406ac1;
/* rgb */ color: rgb(64, 106, 193);
/* oklch */ color: oklch(53.9% 0.144 263.1);
Tailwind
colors: {
  custom: {
    50: '#8294d4',
    500: '#406ac1',
    950: '#000000',
  },
}
SCSS
$custom: #406ac1;
$custom-light: #8294d4;
$custom-dark: #000000;
JSON
{
  "hex": "#406ac1",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 193
  },
  "hsl": {
    "h": 220.465,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53889,
    "c": 0.14396,
    "h": 263.1
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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