#406CD3#406CD3

#406CD3 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.5% C 0.166 H 264.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#406CD3
RGBrgb(64, 108, 211)
HSLhsl(222, 63%, 54%)
HSVhsv(222, 70%, 83%)
CMYKcmyk(69.7%, 48.8%, 0%, 17.3%)
CIE-LABlab(47.64, 19.20, -57.62)
CIE-LCHlch(47.64, 60.73, 288.43°)
OKLaboklab(55.53% -0.0166 -0.1653)
OKLCHoklch(55.53% 0.166 264.3)
XYZxyz(19.2306, 16.5163, 63.7899)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CD3 #D3A740
analogous
#40B6D3 #406CD3 #5E40D3
triadic
#406CD3 #D3406C #6CD340
tetradic
#406CD3 #D340B6 #D3A740 #40D35E
square
#406CD3 #D340B6 #D3A740 #40D35E
split-complementary
#406CD3 #D35E40 #B6D340
monochromatic
#1D397C #2850AE #406CD3 #7292DE #A3B9EA

Accessibility & contrast

On white

4.88
#406CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#406CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CD3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CD3#FFFFFF#000000##FFFFFF
##406CD31.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3278D7
Deuteranopia (green-blind)
#006BD1
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406cd3;
/* rgb */ color: rgb(64, 108, 211);
/* oklch */ color: oklch(55.5% 0.166 264.3);
Tailwind
colors: {
  custom: {
    50: '#8695e1',
    500: '#406cd3',
    950: '#000000',
  },
}
SCSS
$custom: #406cd3;
$custom-light: #8695e1;
$custom-dark: #000000;
JSON
{
  "hex": "#406cd3",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 222.041,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55533,
    "c": 0.16617,
    "h": 264.3
  },
  "luminance": 0.16518
}

Semantic roles & 50–950 ramp

primary
#406CD3
secondary
#D7C498
accent
#B542E6
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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