#406FD2#406FD2

#406FD2 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.1% C 0.161 H 263.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#406FD2
RGBrgb(64, 111, 210)
HSLhsl(221, 62%, 54%)
HSVhsv(221, 70%, 82%)
CMYKcmyk(69.5%, 47.1%, 0%, 17.6%)
CIE-LABlab(48.40, 16.95, -55.84)
CIE-LCHlch(48.40, 58.35, 286.89°)
OKLaboklab(56.09% -0.0193 -0.16)
OKLCHoklch(56.09% 0.161 263.1)
XYZxyz(19.4275, 17.1100, 63.2390)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FD2 #D2A340
analogous
#40B8D2 #406FD2 #5A40D2
triadic
#406FD2 #D2406F #6FD240
tetradic
#406FD2 #D240B8 #D2A340 #40D25A
square
#406FD2 #D240B8 #D2A340 #40D25A
split-complementary
#406FD2 #D25A40 #B8D240
monochromatic
#1D3B7B #2953AC #406FD2 #7294DE #A3BAE9

Accessibility & contrast

On white

4.75
#406FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#406FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FD2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FD2#FFFFFF#000000##FFFFFF
##406FD21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD6
Deuteranopia (green-blind)
#176DD0
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #406fd2;
/* rgb */ color: rgb(64, 111, 210);
/* oklch */ color: oklch(56.1% 0.161 263.1);
Tailwind
colors: {
  custom: {
    50: '#8597e0',
    500: '#406fd2',
    950: '#000000',
  },
}
SCSS
$custom: #406fd2;
$custom-light: #8597e0;
$custom-dark: #000000;
JSON
{
  "hex": "#406fd2",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 220.685,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.1612,
    "h": 263.1
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

primary
#406FD2
secondary
#D6C298
accent
#B143E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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