#406BB8#406BB8

#406BB8 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.5% C 0.130 H 261.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#406BB8
RGBrgb(64, 107, 184)
HSLhsl(219, 48%, 49%)
HSVhsv(219, 65%, 72%)
CMYKcmyk(65.2%, 41.8%, 0%, 27.8%)
CIE-LABlab(45.72, 10.15, -45.16)
CIE-LCHlch(45.72, 46.29, 282.67°)
OKLaboklab(53.53% -0.0201 -0.1287)
OKLCHoklch(53.53% 0.13 261.1)
XYZxyz(16.0207, 15.0645, 47.4016)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BB8 #B88D40
analogous
#40A7B8 #406BB8 #5140B8
triadic
#406BB8 #B8406B #6BB840
tetradic
#406BB8 #B840A7 #B88D40 #40B851
square
#406BB8 #B840A7 #B88D40 #40B851
split-complementary
#406BB8 #B85140 #A7B840
monochromatic
#20365D #30518B #406BB8 #6A8DCB #97B0DB

Accessibility & contrast

On white

5.23
#406BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#406BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BB8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BB8#FFFFFF#000000##FFFFFF
##406BB81.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BB
Deuteranopia (green-blind)
#3567B6
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406bb8;
/* rgb */ color: rgb(64, 107, 184);
/* oklch */ color: oklch(53.5% 0.130 261.1);
Tailwind
colors: {
  custom: {
    50: '#8194ce',
    500: '#406bb8',
    950: '#000000',
  },
}
SCSS
$custom: #406bb8;
$custom-light: #8194ce;
$custom-dark: #000000;
JSON
{
  "hex": "#406bb8",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 184
  },
  "hsl": {
    "h": 218.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53527,
    "c": 0.13029,
    "h": 261.1
  },
  "luminance": 0.15066
}

Semantic roles & 50–950 ramp

primary
#406BB8
secondary
#C7B28D
accent
#A750D8
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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