#406BB0#406BB0

#406BB0 is a mid, moderate blue. Relative luminance 0.147; OKLCH L 53.0% C 0.119 H 259.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#406BB0
RGBrgb(64, 107, 176)
HSLhsl(217, 47%, 47%)
HSVhsv(217, 64%, 69%)
CMYKcmyk(63.6%, 39.2%, 0%, 31%)
CIE-LABlab(45.27, 7.32, -41.21)
CIE-LCHlch(45.27, 41.86, 280.07°)
OKLaboklab(53.03% -0.0218 -0.1172)
OKLCHoklch(53.03% 0.119 259.5)
XYZxyz(15.2057, 14.7386, 43.1094)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BB0 #B08540
analogous
#40A3B0 #406BB0 #4D40B0
triadic
#406BB0 #B0406B #6BB040
tetradic
#406BB0 #B040A3 #B08540 #40B04D
square
#406BB0 #B040A3 #B08540 #40B04D
split-complementary
#406BB0 #B04D40 #A3B040
monochromatic
#1F3456 #305083 #406BB0 #668BC7 #93ADD8

Accessibility & contrast

On white

5.32
#406BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#406BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BB0
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BB0#FFFFFF#000000##FFFFFF
##406BB01.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B3
Deuteranopia (green-blind)
#3D66AF
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #406bb0;
/* rgb */ color: rgb(64, 107, 176);
/* oklch */ color: oklch(53.0% 0.119 259.5);
Tailwind
colors: {
  custom: {
    50: '#7f95c8',
    500: '#406bb0',
    950: '#000000',
  },
}
SCSS
$custom: #406bb0;
$custom-light: #7f95c8;
$custom-dark: #000000;
JSON
{
  "hex": "#406bb0",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 176
  },
  "hsl": {
    "h": 216.964,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.11917,
    "h": 259.5
  },
  "luminance": 0.1474
}

Semantic roles & 50–950 ramp

primary
#406BB0
secondary
#C3AD89
accent
#A351D6
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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