#406EB0#406EB0

#406EB0 is a mid, moderate blue. Relative luminance 0.154; OKLCH L 53.7% C 0.116 H 257.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#406EB0
RGBrgb(64, 110, 176)
HSLhsl(215, 47%, 47%)
HSVhsv(215, 64%, 69%)
CMYKcmyk(63.6%, 37.5%, 0%, 31%)
CIE-LABlab(46.14, 5.45, -39.84)
CIE-LCHlch(46.14, 40.21, 277.79°)
OKLaboklab(53.71% -0.025 -0.1131)
OKLCHoklch(53.71% 0.116 257.5)
XYZxyz(15.5240, 15.3750, 43.2154)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EB0 #B08240
analogous
#40A6B0 #406EB0 #4A40B0
triadic
#406EB0 #B0406E #6EB040
tetradic
#406EB0 #B040A6 #B08240 #40B04A
square
#406EB0 #B040A6 #B08240 #40B04A
split-complementary
#406EB0 #B04A40 #A6B040
monochromatic
#1F3656 #305283 #406EB0 #668EC7 #93AFD8

Accessibility & contrast

On white

5.15
#406EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#406EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406EB0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EB0#FFFFFF#000000##FFFFFF
##406EB01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5173B3
Deuteranopia (green-blind)
#4268AF
Tritanopia (blue-blind)
#007D86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406eb0;
/* rgb */ color: rgb(64, 110, 176);
/* oklch */ color: oklch(53.7% 0.116 257.5);
Tailwind
colors: {
  custom: {
    50: '#7f97c8',
    500: '#406eb0',
    950: '#000000',
  },
}
SCSS
$custom: #406eb0;
$custom-light: #7f97c8;
$custom-dark: #000000;
JSON
{
  "hex": "#406eb0",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 176
  },
  "hsl": {
    "h": 215.357,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.11582,
    "h": 257.5
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#406EB0
secondary
#C3AB89
accent
#A051D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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