#406EBE#406EBE

#406EBE is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.6% C 0.135 H 260.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#406EBE
RGBrgb(64, 110, 190)
HSLhsl(218, 50%, 50%)
HSVhsv(218, 66%, 75%)
CMYKcmyk(66.3%, 42.1%, 0%, 25.5%)
CIE-LABlab(46.92, 10.41, -46.73)
CIE-LCHlch(46.92, 47.87, 282.55°)
OKLaboklab(54.56% -0.0219 -0.1333)
OKLCHoklch(54.56% 0.135 260.7)
XYZxyz(16.9812, 15.9579, 50.8905)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EBE #BE9040
analogous
#40ADBE #406EBE #5140BE
triadic
#406EBE #BE406E #6EBE40
tetradic
#406EBE #BE40AD #BE9040 #40BE51
square
#406EBE #BE40AD #BE9040 #40BE51
split-complementary
#406EBE #BE5140 #ADBE40
monochromatic
#213962 #315390 #406EBE #6D91CE #9BB3DD

Accessibility & contrast

On white

5.01
#406EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#406EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EBE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EBE#FFFFFF#000000##FFFFFF
##406EBE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4976C1
Deuteranopia (green-blind)
#356ABC
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406ebe;
/* rgb */ color: rgb(64, 110, 190);
/* oklch */ color: oklch(54.6% 0.135 260.7);
Tailwind
colors: {
  custom: {
    50: '#8297d2',
    500: '#406ebe',
    950: '#000000',
  },
}
SCSS
$custom: #406ebe;
$custom-light: #8297d2;
$custom-dark: #000000;
JSON
{
  "hex": "#406ebe",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 190
  },
  "hsl": {
    "h": 218.095,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.13507,
    "h": 260.7
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#406EBE
secondary
#C9B590
accent
#A74FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #406EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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