#406EBC#406EBC

#406EBC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.4% C 0.132 H 260.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#406EBC
RGBrgb(64, 110, 188)
HSLhsl(218, 49%, 49%)
HSVhsv(218, 66%, 74%)
CMYKcmyk(66%, 41.5%, 0%, 26.3%)
CIE-LABlab(46.80, 9.69, -45.76)
CIE-LCHlch(46.80, 46.77, 281.96°)
OKLaboklab(54.44% -0.0223 -0.1304)
OKLCHoklch(54.44% 0.132 260.3)
XYZxyz(16.7642, 15.8711, 49.7471)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EBC #BC8E40
analogous
#40ACBC #406EBC #5040BC
triadic
#406EBC #BC406E #6EBC40
tetradic
#406EBC #BC40AC #BC8E40 #40BC50
square
#406EBC #BC40AC #BC8E40 #40BC50
split-complementary
#406EBC #BC5040 #ACBC40
monochromatic
#213961 #30538E #406EBC #6C90CD #9AB3DD

Accessibility & contrast

On white

5.03
#406EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406EBC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EBC#FFFFFF#000000##FFFFFF
##406EBC1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#376ABA
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406ebc;
/* rgb */ color: rgb(64, 110, 188);
/* oklch */ color: oklch(54.4% 0.132 260.3);
Tailwind
colors: {
  custom: {
    50: '#8197d0',
    500: '#406ebc',
    950: '#000000',
  },
}
SCSS
$custom: #406ebc;
$custom-light: #8197d0;
$custom-dark: #000000;
JSON
{
  "hex": "#406ebc",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 188
  },
  "hsl": {
    "h": 217.742,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54438,
    "c": 0.13232,
    "h": 260.3
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#406EBC
secondary
#C9B38F
accent
#A64FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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