#406DBD#406DBD

#406DBD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.3% C 0.135 H 261.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#406DBD
RGBrgb(64, 109, 189)
HSLhsl(218, 49%, 50%)
HSVhsv(218, 66%, 74%)
CMYKcmyk(66.1%, 42.3%, 0%, 25.9%)
CIE-LABlab(46.58, 10.68, -46.70)
CIE-LCHlch(46.58, 47.90, 282.88°)
OKLaboklab(54.28% -0.0211 -0.1332)
OKLCHoklch(54.28% 0.135 261)
XYZxyz(16.7650, 15.6998, 50.2811)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DBD #BD9040
analogous
#40ACBD #406DBD #5240BD
triadic
#406DBD #BD406D #6DBD40
tetradic
#406DBD #BD40AC #BD9040 #40BD52
square
#406DBD #BD40AC #BD9040 #40BD52
split-complementary
#406DBD #BD5240 #ACBD40
monochromatic
#213862 #31538F #406DBD #6D90CD #9AB2DD

Accessibility & contrast

On white

5.07
#406DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#406DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DBD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DBD#FFFFFF#000000##FFFFFF
##406DBD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4875C0
Deuteranopia (green-blind)
#3469BB
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406dbd;
/* rgb */ color: rgb(64, 109, 189);
/* oklch */ color: oklch(54.3% 0.135 261.0);
Tailwind
colors: {
  custom: {
    50: '#8296d1',
    500: '#406dbd',
    950: '#000000',
  },
}
SCSS
$custom: #406dbd;
$custom-light: #8296d1;
$custom-dark: #000000;
JSON
{
  "hex": "#406dbd",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 189
  },
  "hsl": {
    "h": 218.4,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54281,
    "c": 0.13487,
    "h": 261
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#406DBD
secondary
#C9B490
accent
#A74FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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