#406DBF#406DBF

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

Color values

HEX#406DBF
RGBrgb(64, 109, 191)
HSLhsl(219, 50%, 50%)
HSVhsv(219, 66%, 75%)
CMYKcmyk(66.5%, 42.9%, 0%, 25.1%)
CIE-LABlab(46.69, 11.39, -47.67)
CIE-LCHlch(46.69, 49.01, 283.44°)
OKLaboklab(54.41% -0.0207 -0.1361)
OKLCHoklch(54.41% 0.138 261.4)
XYZxyz(16.9836, 15.7872, 51.4323)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DBF #BF9240
analogous
#40ADBF #406DBF #5240BF
triadic
#406DBF #BF406D #6DBF40
tetradic
#406DBF #BF40AD #BF9240 #40BF52
square
#406DBF #BF40AD #BF9240 #40BF52
split-complementary
#406DBF #BF5240 #ADBF40
monochromatic
#213963 #315391 #406DBF #6E90CE #9CB3DE

Accessibility & contrast

On white

5.05
#406DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#406DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DBF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DBF#FFFFFF#000000##FFFFFF
##406DBF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#3269BD
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406dbf;
/* rgb */ color: rgb(64, 109, 191);
/* oklch */ color: oklch(54.4% 0.138 261.4);
Tailwind
colors: {
  custom: {
    50: '#8296d3',
    500: '#406dbf',
    950: '#000000',
  },
}
SCSS
$custom: #406dbf;
$custom-light: #8296d3;
$custom-dark: #000000;
JSON
{
  "hex": "#406dbf",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 191
  },
  "hsl": {
    "h": 218.74,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.54409,
    "c": 0.13762,
    "h": 261.4
  },
  "luminance": 0.15789
}

Semantic roles & 50–950 ramp

primary
#406DBF
secondary
#CAB691
accent
#A84ED9
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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