#406CB0#406CB0

#406CB0 is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.3% C 0.118 H 258.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#406CB0
RGBrgb(64, 108, 176)
HSLhsl(216, 47%, 47%)
HSVhsv(216, 64%, 69%)
CMYKcmyk(63.6%, 38.6%, 0%, 31%)
CIE-LABlab(45.56, 6.69, -40.76)
CIE-LCHlch(45.56, 41.30, 279.33°)
OKLaboklab(53.26% -0.0229 -0.1158)
OKLCHoklch(53.26% 0.118 258.8)
XYZxyz(15.3106, 14.9483, 43.1443)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CB0 #B08440
analogous
#40A4B0 #406CB0 #4C40B0
triadic
#406CB0 #B0406C #6CB040
tetradic
#406CB0 #B040A4 #B08440 #40B04C
square
#406CB0 #B040A4 #B08440 #40B04C
split-complementary
#406CB0 #B04C40 #A4B040
monochromatic
#1F3556 #305083 #406CB0 #668CC7 #93AED8

Accessibility & contrast

On white

5.26
#406CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#406CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CB0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CB0#FFFFFF#000000##FFFFFF
##406CB01.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B3
Deuteranopia (green-blind)
#3E67AF
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406cb0;
/* rgb */ color: rgb(64, 108, 176);
/* oklch */ color: oklch(53.3% 0.118 258.8);
Tailwind
colors: {
  custom: {
    50: '#7f95c8',
    500: '#406cb0',
    950: '#000000',
  },
}
SCSS
$custom: #406cb0;
$custom-light: #7f95c8;
$custom-dark: #000000;
JSON
{
  "hex": "#406cb0",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 176
  },
  "hsl": {
    "h": 216.429,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.11804,
    "h": 258.8
  },
  "luminance": 0.1495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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