#406BAD#406BAD

#406BAD is a mid, moderate blue. Relative luminance 0.146; OKLCH L 52.9% C 0.115 H 258.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#406BAD
RGBrgb(64, 107, 173)
HSLhsl(216, 46%, 46%)
HSVhsv(216, 63%, 68%)
CMYKcmyk(63%, 38.2%, 0%, 32.2%)
CIE-LABlab(45.11, 6.26, -39.72)
CIE-LCHlch(45.11, 40.21, 278.96°)
OKLaboklab(52.85% -0.0225 -0.1128)
OKLCHoklch(52.85% 0.115 258.7)
XYZxyz(14.9122, 14.6211, 41.5634)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BAD #AD8240
analogous
#40A2AD #406BAD #4B40AD
triadic
#406BAD #AD406B #6BAD40
tetradic
#406BAD #AD40A2 #AD8240 #40AD4B
square
#406BAD #AD40A2 #AD8240 #40AD4B
split-complementary
#406BAD #AD4B40 #A2AD40
monochromatic
#1F3454 #2F4F80 #406BAD #648BC6 #91ACD6

Accessibility & contrast

On white

5.35
#406BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#406BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BAD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BAD#FFFFFF#000000##FFFFFF
##406BAD1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E70B0
Deuteranopia (green-blind)
#3F66AC
Tritanopia (blue-blind)
#007A84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #406bad;
/* rgb */ color: rgb(64, 107, 173);
/* oklch */ color: oklch(52.9% 0.115 258.7);
Tailwind
colors: {
  custom: {
    50: '#7f95c6',
    500: '#406bad',
    950: '#000000',
  },
}
SCSS
$custom: #406bad;
$custom-light: #7f95c6;
$custom-dark: #000000;
JSON
{
  "hex": "#406bad",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 173
  },
  "hsl": {
    "h": 216.33,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.11501,
    "h": 258.7
  },
  "luminance": 0.14623
}

Semantic roles & 50–950 ramp

primary
#406BAD
secondary
#C2AB87
accent
#A252D6
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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