#406EB4#406EB4

#406EB4 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 53.9% C 0.121 H 258.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#406EB4
RGBrgb(64, 110, 180)
HSLhsl(216, 48%, 48%)
HSVhsv(216, 64%, 71%)
CMYKcmyk(64.4%, 38.9%, 0%, 29.4%)
CIE-LABlab(46.36, 6.86, -41.82)
CIE-LCHlch(46.36, 42.38, 279.31°)
OKLaboklab(53.95% -0.024 -0.1189)
OKLCHoklch(53.95% 0.121 258.6)
XYZxyz(15.9256, 15.5356, 45.3306)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EB4 #B48640
analogous
#40A8B4 #406EB4 #4C40B4
triadic
#406EB4 #B4406E #6EB440
tetradic
#406EB4 #B440A8 #B48640 #40B44C
square
#406EB4 #B440A8 #B48640 #40B44C
split-complementary
#406EB4 #B44C40 #A8B440
monochromatic
#20375A #305287 #406EB4 #688FC9 #95B0D9

Accessibility & contrast

On white

5.11
#406EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#406EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EB4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EB4#FFFFFF#000000##FFFFFF
##406EB41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B7
Deuteranopia (green-blind)
#3F69B3
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406eb4;
/* rgb */ color: rgb(64, 110, 180);
/* oklch */ color: oklch(53.9% 0.121 258.6);
Tailwind
colors: {
  custom: {
    50: '#8097cb',
    500: '#406eb4',
    950: '#000000',
  },
}
SCSS
$custom: #406eb4;
$custom-light: #8097cb;
$custom-dark: #000000;
JSON
{
  "hex": "#406eb4",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 216.207,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.12132,
    "h": 258.6
  },
  "luminance": 0.15537
}

Semantic roles & 50–950 ramp

primary
#406EB4
secondary
#C5AE8B
accent
#A251D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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