#406EBF#406EBF

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

Color values

HEX#406EBF
RGBrgb(64, 110, 191)
HSLhsl(218, 50%, 50%)
HSVhsv(218, 66%, 75%)
CMYKcmyk(66.5%, 42.4%, 0%, 25.1%)
CIE-LABlab(46.98, 10.76, -47.22)
CIE-LCHlch(46.98, 48.43, 282.84°)
OKLaboklab(54.63% -0.0217 -0.1347)
OKLCHoklch(54.63% 0.136 260.9)
XYZxyz(17.0909, 16.0018, 51.4681)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EBF #BF9140
analogous
#40ADBF #406EBF #5240BF
triadic
#406EBF #BF406E #6EBF40
tetradic
#406EBF #BF40AD #BF9140 #40BF52
square
#406EBF #BF40AD #BF9140 #40BF52
split-complementary
#406EBF #BF5240 #ADBF40
monochromatic
#213963 #315491 #406EBF #6E91CE #9CB4DE

Accessibility & contrast

On white

5.00
#406EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#406EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EBF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EBF#FFFFFF#000000##FFFFFF
##406EBF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4876C2
Deuteranopia (green-blind)
#346ABD
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406ebf;
/* rgb */ color: rgb(64, 110, 191);
/* oklch */ color: oklch(54.6% 0.136 260.9);
Tailwind
colors: {
  custom: {
    50: '#8297d3',
    500: '#406ebf',
    950: '#000000',
  },
}
SCSS
$custom: #406ebf;
$custom-light: #8297d3;
$custom-dark: #000000;
JSON
{
  "hex": "#406ebf",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 191
  },
  "hsl": {
    "h": 218.268,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.54627,
    "c": 0.13645,
    "h": 260.9
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#406EBF
secondary
#CAB591
accent
#A74ED9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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