#406AB8#406AB8

#406AB8 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.131 H 261.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#406AB8
RGBrgb(64, 106, 184)
HSLhsl(219, 48%, 49%)
HSVhsv(219, 65%, 72%)
CMYKcmyk(65.2%, 42.4%, 0%, 27.8%)
CIE-LABlab(45.44, 10.78, -45.62)
CIE-LCHlch(45.44, 46.87, 283.30°)
OKLaboklab(53.31% -0.0191 -0.1301)
OKLCHoklch(53.31% 0.131 261.7)
XYZxyz(15.9171, 14.8572, 47.3670)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406AB8 #B88E40
analogous
#40A6B8 #406AB8 #5240B8
triadic
#406AB8 #B8406A #6AB840
tetradic
#406AB8 #B840A6 #B88E40 #40B852
square
#406AB8 #B840A6 #B88E40 #40B852
split-complementary
#406AB8 #B85240 #A6B840
monochromatic
#20365D #30508B #406AB8 #6A8CCB #97AFDB

Accessibility & contrast

On white

5.29
#406AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#406AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406AB8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406AB8#FFFFFF#000000##FFFFFF
##406AB81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4672BB
Deuteranopia (green-blind)
#3366B6
Tritanopia (blue-blind)
#007C88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406ab8;
/* rgb */ color: rgb(64, 106, 184);
/* oklch */ color: oklch(53.3% 0.131 261.7);
Tailwind
colors: {
  custom: {
    50: '#8194ce',
    500: '#406ab8',
    950: '#000000',
  },
}
SCSS
$custom: #406ab8;
$custom-light: #8194ce;
$custom-dark: #000000;
JSON
{
  "hex": "#406ab8",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 184
  },
  "hsl": {
    "h": 219,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.13147,
    "h": 261.7
  },
  "luminance": 0.14859
}

Semantic roles & 50–950 ramp

primary
#406AB8
secondary
#C7B38D
accent
#A850D8
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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