#406CBE#406CBE

#406CBE is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.1% C 0.137 H 261.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#406CBE
RGBrgb(64, 108, 190)
HSLhsl(219, 50%, 50%)
HSVhsv(219, 66%, 75%)
CMYKcmyk(66.3%, 43.2%, 0%, 25.5%)
CIE-LABlab(46.35, 11.66, -47.63)
CIE-LCHlch(46.35, 49.04, 283.76°)
OKLaboklab(54.13% -0.0199 -0.136)
OKLCHoklch(54.13% 0.137 261.7)
XYZxyz(16.7679, 15.5312, 50.8194)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CBE #BE9240
analogous
#40ABBE #406CBE #5340BE
triadic
#406CBE #BE406C #6CBE40
tetradic
#406CBE #BE40AB #BE9240 #40BE53
square
#406CBE #BE40AB #BE9240 #40BE53
split-complementary
#406CBE #BE5340 #ABBE40
monochromatic
#213862 #315290 #406CBE #6D8FCE #9BB2DD

Accessibility & contrast

On white

5.11
#406CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#406CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CBE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CBE#FFFFFF#000000##FFFFFF
##406CBE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406cbe;
/* rgb */ color: rgb(64, 108, 190);
/* oklch */ color: oklch(54.1% 0.137 261.7);
Tailwind
colors: {
  custom: {
    50: '#8295d2',
    500: '#406cbe',
    950: '#000000',
  },
}
SCSS
$custom: #406cbe;
$custom-light: #8295d2;
$custom-dark: #000000;
JSON
{
  "hex": "#406cbe",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 190
  },
  "hsl": {
    "h": 219.048,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.13742,
    "h": 261.7
  },
  "luminance": 0.15533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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