#406CD1#406CD1

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

Color values

HEX#406CD1
RGBrgb(64, 108, 209)
HSLhsl(222, 61%, 54%)
HSVhsv(222, 69%, 82%)
CMYKcmyk(69.4%, 48.3%, 0%, 18%)
CIE-LABlab(47.52, 18.48, -56.68)
CIE-LCHlch(47.52, 59.62, 288.06°)
OKLaboklab(55.39% -0.0168 -0.1626)
OKLCHoklch(55.39% 0.163 264.1)
XYZxyz(18.9815, 16.4166, 62.4776)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CD1 #D1A540
analogous
#40B4D1 #406CD1 #5C40D1
triadic
#406CD1 #D1406C #6CD140
tetradic
#406CD1 #D140B4 #D1A540 #40D15C
square
#406CD1 #D140B4 #D1A540 #40D15C
split-complementary
#406CD1 #D15C40 #B4D140
monochromatic
#1D3979 #2950AB #406CD1 #7192DD #A3B8E9

Accessibility & contrast

On white

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

On black

4.28
#406CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##406CD1#FFFFFF#000000##FFFFFF
##406CD11.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3578D5
Deuteranopia (green-blind)
#086ACF
Tritanopia (blue-blind)
#008494
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406cd1;
/* rgb */ color: rgb(64, 108, 209);
/* oklch */ color: oklch(55.4% 0.163 264.1);
Tailwind
colors: {
  custom: {
    50: '#8595e0',
    500: '#406cd1',
    950: '#000000',
  },
}
SCSS
$custom: #406cd1;
$custom-light: #8595e0;
$custom-dark: #000000;
JSON
{
  "hex": "#406cd1",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 209
  },
  "hsl": {
    "h": 221.793,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.16346,
    "h": 264.1
  },
  "luminance": 0.16419
}

Semantic roles & 50–950 ramp

primary
#406CD1
secondary
#D5C397
accent
#B444E4
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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