#406BCA#406BCA

#406BCA is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.7% C 0.155 H 263.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#406BCA
RGBrgb(64, 107, 202)
HSLhsl(221, 57%, 52%)
HSVhsv(221, 68%, 79%)
CMYKcmyk(68.3%, 47%, 0%, 20.8%)
CIE-LABlab(46.80, 16.59, -53.83)
CIE-LCHlch(46.80, 56.33, 287.13°)
OKLaboklab(54.71% -0.0169 -0.1542)
OKLCHoklch(54.71% 0.155 263.7)
XYZxyz(18.0290, 15.8678, 57.9783)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BCA #CA9F40
analogous
#40B0CA #406BCA #5A40CA
triadic
#406BCA #CA406B #6BCA40
tetradic
#406BCA #CA40B0 #CA9F40 #40CA5A
square
#406BCA #CA40B0 #CA9F40 #40CA5A
split-complementary
#406BCA #CA5A40 #B0CA40
monochromatic
#1F3870 #2C51A0 #406BCA #7090D7 #A0B5E5

Accessibility & contrast

On white

5.03
#406BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#406BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BCA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BCA#FFFFFF#000000##FFFFFF
##406BCA1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3976CE
Deuteranopia (green-blind)
#1B69C8
Tritanopia (blue-blind)
#008191
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406bca;
/* rgb */ color: rgb(64, 107, 202);
/* oklch */ color: oklch(54.7% 0.155 263.7);
Tailwind
colors: {
  custom: {
    50: '#8494db',
    500: '#406bca',
    950: '#000000',
  },
}
SCSS
$custom: #406bca;
$custom-light: #8494db;
$custom-dark: #000000;
JSON
{
  "hex": "#406bca",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 221.304,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54705,
    "c": 0.15512,
    "h": 263.7
  },
  "luminance": 0.1587
}

Semantic roles & 50–950 ramp

primary
#406BCA
secondary
#D1BE95
accent
#B148E0
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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