#406EBD#406EBD

#406EBD is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.5% C 0.134 H 260.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#406EBD
RGBrgb(64, 110, 189)
HSLhsl(218, 49%, 50%)
HSVhsv(218, 66%, 74%)
CMYKcmyk(66.1%, 41.8%, 0%, 25.9%)
CIE-LABlab(46.86, 10.05, -46.24)
CIE-LCHlch(46.86, 47.32, 282.26°)
OKLaboklab(54.5% -0.0221 -0.1319)
OKLCHoklch(54.5% 0.134 260.5)
XYZxyz(16.8723, 15.9143, 50.3168)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EBD #BD8F40
analogous
#40ADBD #406EBD #5140BD
triadic
#406EBD #BD406E #6EBD40
tetradic
#406EBD #BD40AD #BD8F40 #40BD51
square
#406EBD #BD40AD #BD8F40 #40BD51
split-complementary
#406EBD #BD5140 #ADBD40
monochromatic
#213962 #31538F #406EBD #6D90CD #9AB3DD

Accessibility & contrast

On white

5.02
#406EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#406EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EBD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EBD#FFFFFF#000000##FFFFFF
##406EBD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75C0
Deuteranopia (green-blind)
#366ABB
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406ebd;
/* rgb */ color: rgb(64, 110, 189);
/* oklch */ color: oklch(54.5% 0.134 260.5);
Tailwind
colors: {
  custom: {
    50: '#8297d1',
    500: '#406ebd',
    950: '#000000',
  },
}
SCSS
$custom: #406ebd;
$custom-light: #8297d1;
$custom-dark: #000000;
JSON
{
  "hex": "#406ebd",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 189
  },
  "hsl": {
    "h": 217.92,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54501,
    "c": 0.1337,
    "h": 260.5
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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