#406FD3#406FD3

#406FD3 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.2% C 0.163 H 263.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#406FD3
RGBrgb(64, 111, 211)
HSLhsl(221, 63%, 54%)
HSVhsv(221, 70%, 83%)
CMYKcmyk(69.7%, 47.4%, 0%, 17.3%)
CIE-LABlab(48.46, 17.31, -56.30)
CIE-LCHlch(48.46, 58.91, 287.09°)
OKLaboklab(56.16% -0.0192 -0.1614)
OKLCHoklch(56.16% 0.163 263.2)
XYZxyz(19.5525, 17.1600, 63.8972)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FD3 #D3A440
analogous
#40B9D3 #406FD3 #5B40D3
triadic
#406FD3 #D3406F #6FD340
tetradic
#406FD3 #D340B9 #D3A440 #40D35B
square
#406FD3 #D340B9 #D3A440 #40D35B
split-complementary
#406FD3 #D35B40 #B9D340
monochromatic
#1D3B7C #2853AE #406FD3 #7295DE #A3BAEA

Accessibility & contrast

On white

4.74
#406FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#406FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FD3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FD3#FFFFFF#000000##FFFFFF
##406FD31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD7
Deuteranopia (green-blind)
#146DD1
Tritanopia (blue-blind)
#008697
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #406fd3;
/* rgb */ color: rgb(64, 111, 211);
/* oklch */ color: oklch(56.2% 0.163 263.2);
Tailwind
colors: {
  custom: {
    50: '#8697e1',
    500: '#406fd3',
    950: '#000000',
  },
}
SCSS
$custom: #406fd3;
$custom-light: #8697e1;
$custom-dark: #000000;
JSON
{
  "hex": "#406fd3",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 211
  },
  "hsl": {
    "h": 220.816,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56157,
    "c": 0.16256,
    "h": 263.2
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#406FD3
secondary
#D7C398
accent
#B142E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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