#406AB3#406AB3

#406AB3 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.0% C 0.124 H 260.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#406AB3
RGBrgb(64, 106, 179)
HSLhsl(218, 47%, 48%)
HSVhsv(218, 64%, 70%)
CMYKcmyk(64.2%, 40.8%, 0%, 29.8%)
CIE-LABlab(45.15, 9.01, -43.16)
CIE-LCHlch(45.15, 44.09, 281.79°)
OKLaboklab(52.99% -0.0201 -0.1229)
OKLCHoklch(52.99% 0.125 260.7)
XYZxyz(15.4022, 14.6513, 44.6554)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406AB3 #B38940
analogous
#40A3B3 #406AB3 #5040B3
triadic
#406AB3 #B3406A #6AB340
tetradic
#406AB3 #B340A3 #B38940 #40B350
square
#406AB3 #B340A3 #B38940 #40B350
split-complementary
#406AB3 #B35040 #A3B340
monochromatic
#203559 #304F86 #406AB3 #678BC9 #94ADD9

Accessibility & contrast

On white

5.34
#406AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#406AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406AB3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406AB3#FFFFFF#000000##FFFFFF
##406AB31.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B6
Deuteranopia (green-blind)
#3866B1
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #406ab3;
/* rgb */ color: rgb(64, 106, 179);
/* oklch */ color: oklch(53.0% 0.124 260.7);
Tailwind
colors: {
  custom: {
    50: '#8094ca',
    500: '#406ab3',
    950: '#000000',
  },
}
SCSS
$custom: #406ab3;
$custom-light: #8094ca;
$custom-dark: #000000;
JSON
{
  "hex": "#406ab3",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 179
  },
  "hsl": {
    "h": 218.087,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.1245,
    "h": 260.7
  },
  "luminance": 0.14653
}

Semantic roles & 50–950 ramp

primary
#406AB3
secondary
#C4AF8A
accent
#A651D7
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #406AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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