#406DBE#406DBE

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

Color values

HEX#406DBE
RGBrgb(64, 109, 190)
HSLhsl(219, 50%, 50%)
HSVhsv(219, 66%, 75%)
CMYKcmyk(66.3%, 42.6%, 0%, 25.5%)
CIE-LABlab(46.64, 11.03, -47.18)
CIE-LCHlch(46.64, 48.45, 283.16°)
OKLaboklab(54.35% -0.0209 -0.1346)
OKLCHoklch(54.35% 0.136 261.2)
XYZxyz(16.8740, 15.7433, 50.8547)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DBE #BE9140
analogous
#40ACBE #406DBE #5240BE
triadic
#406DBE #BE406D #6DBE40
tetradic
#406DBE #BE40AC #BE9140 #40BE52
square
#406DBE #BE40AC #BE9140 #40BE52
split-complementary
#406DBE #BE5240 #ACBE40
monochromatic
#213862 #315390 #406DBE #6D90CE #9BB3DD

Accessibility & contrast

On white

5.06
#406DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#406DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DBE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DBE#FFFFFF#000000##FFFFFF
##406DBE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4775C1
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406dbe;
/* rgb */ color: rgb(64, 109, 190);
/* oklch */ color: oklch(54.3% 0.136 261.2);
Tailwind
colors: {
  custom: {
    50: '#8296d2',
    500: '#406dbe',
    950: '#000000',
  },
}
SCSS
$custom: #406dbe;
$custom-light: #8296d2;
$custom-dark: #000000;
JSON
{
  "hex": "#406dbe",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 190
  },
  "hsl": {
    "h": 218.571,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54345,
    "c": 0.13624,
    "h": 261.2
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#406DBE
secondary
#C9B590
accent
#A84FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #406DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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