#406EBB#406EBB

#406EBB is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.4% C 0.131 H 260.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#406EBB
RGBrgb(64, 110, 187)
HSLhsl(218, 49%, 49%)
HSVhsv(218, 66%, 73%)
CMYKcmyk(65.8%, 41.2%, 0%, 26.7%)
CIE-LABlab(46.75, 9.34, -45.27)
CIE-LCHlch(46.75, 46.22, 281.66°)
OKLaboklab(54.38% -0.0225 -0.129)
OKLCHoklch(54.38% 0.131 260.1)
XYZxyz(16.6567, 15.8281, 49.1814)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EBB #BB8D40
analogous
#40ACBB #406EBB #5040BB
triadic
#406EBB #BB406E #6EBB40
tetradic
#406EBB #BB40AC #BB8D40 #40BB50
square
#406EBB #BB40AC #BB8D40 #40BB50
split-complementary
#406EBB #BB5040 #ACBB40
monochromatic
#213860 #30538D #406EBB #6C90CD #99B2DC

Accessibility & contrast

On white

5.04
#406EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#406EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EBB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EBB#FFFFFF#000000##FFFFFF
##406EBB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#386AB9
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406ebb;
/* rgb */ color: rgb(64, 110, 187);
/* oklch */ color: oklch(54.4% 0.131 260.1);
Tailwind
colors: {
  custom: {
    50: '#8197d0',
    500: '#406ebb',
    950: '#000000',
  },
}
SCSS
$custom: #406ebb;
$custom-light: #8197d0;
$custom-dark: #000000;
JSON
{
  "hex": "#406ebb",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 187
  },
  "hsl": {
    "h": 217.561,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54376,
    "c": 0.13095,
    "h": 260.1
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#406EBB
secondary
#C8B38F
accent
#A54FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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