#406BD1#406BD1

#406BD1 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.2% C 0.165 H 264.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#406BD1
RGBrgb(64, 107, 209)
HSLhsl(222, 61%, 54%)
HSVhsv(222, 69%, 82%)
CMYKcmyk(69.4%, 48.8%, 0%, 18%)
CIE-LABlab(47.24, 19.11, -57.12)
CIE-LCHlch(47.24, 60.23, 288.50°)
OKLaboklab(55.19% -0.0159 -0.1639)
OKLCHoklch(55.19% 0.165 264.4)
XYZxyz(18.8766, 16.2069, 62.4427)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BD1 #D1A640
analogous
#40B3D1 #406BD1 #5D40D1
triadic
#406BD1 #D1406B #6BD140
tetradic
#406BD1 #D140B3 #D1A640 #40D15D
square
#406BD1 #D140B3 #D1A640 #40D15D
split-complementary
#406BD1 #D15D40 #B3D140
monochromatic
#1D3979 #2950AB #406BD1 #7191DD #A3B7E9

Accessibility & contrast

On white

4.95
#406BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#406BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BD1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BD1#FFFFFF#000000##FFFFFF
##406BD11.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3277D5
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406bd1;
/* rgb */ color: rgb(64, 107, 209);
/* oklch */ color: oklch(55.2% 0.165 264.4);
Tailwind
colors: {
  custom: {
    50: '#8594e0',
    500: '#406bd1',
    950: '#000000',
  },
}
SCSS
$custom: #406bd1;
$custom-light: #8594e0;
$custom-dark: #000000;
JSON
{
  "hex": "#406bd1",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 209
  },
  "hsl": {
    "h": 222.207,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55187,
    "c": 0.16466,
    "h": 264.4
  },
  "luminance": 0.16209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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