#406EB6#406EB6

#406EB6 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.1% C 0.124 H 259.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#406EB6
RGBrgb(64, 110, 182)
HSLhsl(217, 48%, 48%)
HSVhsv(217, 65%, 71%)
CMYKcmyk(64.8%, 39.6%, 0%, 28.6%)
CIE-LABlab(46.47, 7.57, -42.81)
CIE-LCHlch(46.47, 43.48, 280.02°)
OKLaboklab(54.07% -0.0236 -0.1218)
OKLCHoklch(54.07% 0.124 259)
XYZxyz(16.1308, 15.6177, 46.4113)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EB6 #B68840
analogous
#40A9B6 #406EB6 #4D40B6
triadic
#406EB6 #B6406E #6EB640
tetradic
#406EB6 #B640A9 #B68840 #40B64D
square
#406EB6 #B640A9 #B68840 #40B64D
split-complementary
#406EB6 #B64D40 #A9B640
monochromatic
#20375B #305389 #406EB6 #698FCA #96B1DA

Accessibility & contrast

On white

5.09
#406EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#406EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EB6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EB6#FFFFFF#000000##FFFFFF
##406EB61.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B9
Deuteranopia (green-blind)
#3D69B5
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406eb6;
/* rgb */ color: rgb(64, 110, 182);
/* oklch */ color: oklch(54.1% 0.124 259.0);
Tailwind
colors: {
  custom: {
    50: '#8097cc',
    500: '#406eb6',
    950: '#000000',
  },
}
SCSS
$custom: #406eb6;
$custom-light: #8097cc;
$custom-dark: #000000;
JSON
{
  "hex": "#406eb6",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 182
  },
  "hsl": {
    "h": 216.61,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.12406,
    "h": 259
  },
  "luminance": 0.15619
}

Semantic roles & 50–950 ramp

primary
#406EB6
secondary
#C6AF8C
accent
#A350D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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