#406BD2#406BD2

#406BD2 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.3% C 0.166 H 264.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#406BD2
RGBrgb(64, 107, 210)
HSLhsl(222, 62%, 54%)
HSVhsv(222, 70%, 82%)
CMYKcmyk(69.5%, 49%, 0%, 17.6%)
CIE-LABlab(47.31, 19.47, -57.59)
CIE-LCHlch(47.31, 60.79, 288.68°)
OKLaboklab(55.26% -0.0158 -0.1653)
OKLCHoklch(55.26% 0.166 264.5)
XYZxyz(19.0008, 16.2566, 63.0967)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BD2 #D2A740
analogous
#40B4D2 #406BD2 #5E40D2
triadic
#406BD2 #D2406B #6BD240
tetradic
#406BD2 #D240B4 #D2A740 #40D25E
square
#406BD2 #D240B4 #D2A740 #40D25E
split-complementary
#406BD2 #D25E40 #B4D240
monochromatic
#1D397B #294FAC #406BD2 #7291DE #A3B8E9

Accessibility & contrast

On white

4.94
#406BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#406BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BD2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BD2#FFFFFF#000000##FFFFFF
##406BD21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3177D6
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406bd2;
/* rgb */ color: rgb(64, 107, 210);
/* oklch */ color: oklch(55.3% 0.166 264.5);
Tailwind
colors: {
  custom: {
    50: '#8694e0',
    500: '#406bd2',
    950: '#000000',
  },
}
SCSS
$custom: #406bd2;
$custom-light: #8694e0;
$custom-dark: #000000;
JSON
{
  "hex": "#406bd2",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 222.329,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.16602,
    "h": 264.5
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#406BD2
secondary
#D6C498
accent
#B543E5
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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