#406DB0#406DB0

#406DB0 is a mid, moderate blue. Relative luminance 0.152; OKLCH L 53.5% C 0.117 H 258.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#406DB0
RGBrgb(64, 109, 176)
HSLhsl(216, 47%, 47%)
HSVhsv(216, 64%, 69%)
CMYKcmyk(63.6%, 38.1%, 0%, 31%)
CIE-LABlab(45.85, 6.07, -40.30)
CIE-LCHlch(45.85, 40.75, 278.57°)
OKLaboklab(53.48% -0.0239 -0.1144)
OKLCHoklch(53.48% 0.117 258.2)
XYZxyz(15.4167, 15.1604, 43.1797)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DB0 #B08340
analogous
#40A5B0 #406DB0 #4B40B0
triadic
#406DB0 #B0406D #6DB040
tetradic
#406DB0 #B040A5 #B08340 #40B04B
square
#406DB0 #B040A5 #B08340 #40B04B
split-complementary
#406DB0 #B04B40 #A5B040
monochromatic
#1F3556 #305183 #406DB0 #668DC7 #93AED8

Accessibility & contrast

On white

5.21
#406DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#406DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DB0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DB0#FFFFFF#000000##FFFFFF
##406DB01.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5072B3
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406db0;
/* rgb */ color: rgb(64, 109, 176);
/* oklch */ color: oklch(53.5% 0.117 258.2);
Tailwind
colors: {
  custom: {
    50: '#7f96c8',
    500: '#406db0',
    950: '#000000',
  },
}
SCSS
$custom: #406db0;
$custom-light: #7f96c8;
$custom-dark: #000000;
JSON
{
  "hex": "#406db0",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 176
  },
  "hsl": {
    "h": 215.893,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.11693,
    "h": 258.2
  },
  "luminance": 0.15162
}

Semantic roles & 50–950 ramp

primary
#406DB0
secondary
#C3AC89
accent
#A151D6
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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