#406EBA#406EBA

#406EBA is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.3% C 0.130 H 259.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#406EBA
RGBrgb(64, 110, 186)
HSLhsl(217, 49%, 49%)
HSVhsv(217, 66%, 73%)
CMYKcmyk(65.6%, 40.9%, 0%, 27.1%)
CIE-LABlab(46.69, 8.98, -44.78)
CIE-LCHlch(46.69, 45.67, 281.34°)
OKLaboklab(54.31% -0.0227 -0.1276)
OKLCHoklch(54.31% 0.13 259.9)
XYZxyz(16.5501, 15.7854, 48.6196)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EBA #BA8C40
analogous
#40ABBA #406EBA #4F40BA
triadic
#406EBA #BA406E #6EBA40
tetradic
#406EBA #BA40AB #BA8C40 #40BA4F
square
#406EBA #BA40AB #BA8C40 #40BA4F
split-complementary
#406EBA #BA4F40 #ABBA40
monochromatic
#21385F #30538C #406EBA #6B90CC #99B2DC

Accessibility & contrast

On white

5.05
#406EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#406EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EBA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EBA#FFFFFF#000000##FFFFFF
##406EBA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406eba;
/* rgb */ color: rgb(64, 110, 186);
/* oklch */ color: oklch(54.3% 0.130 259.9);
Tailwind
colors: {
  custom: {
    50: '#8197cf',
    500: '#406eba',
    950: '#000000',
  },
}
SCSS
$custom: #406eba;
$custom-light: #8197cf;
$custom-dark: #000000;
JSON
{
  "hex": "#406eba",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 217.377,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.12956,
    "h": 259.9
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#406EBA
secondary
#C8B28E
accent
#A54FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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