#406ABF#406ABF

#406ABF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.8% C 0.141 H 262.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#406ABF
RGBrgb(64, 106, 191)
HSLhsl(220, 50%, 50%)
HSVhsv(220, 66%, 75%)
CMYKcmyk(66.5%, 44.5%, 0%, 25.1%)
CIE-LABlab(45.85, 13.28, -49.02)
CIE-LCHlch(45.85, 50.78, 285.16°)
OKLaboklab(53.76% -0.0177 -0.1401)
OKLCHoklch(53.76% 0.141 262.8)
XYZxyz(16.6690, 15.1580, 51.3274)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ABF #BF9540
analogous
#40AABF #406ABF #5540BF
triadic
#406ABF #BF406A #6ABF40
tetradic
#406ABF #BF40AA #BF9540 #40BF55
square
#406ABF #BF40AA #BF9540 #40BF55
split-complementary
#406ABF #BF5540 #AABF40
monochromatic
#213763 #315191 #406ABF #6E8ECE #9CB2DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406ABF#FFFFFF#000000##FFFFFF
##406ABF1.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)
#4173C2
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406abf;
/* rgb */ color: rgb(64, 106, 191);
/* oklch */ color: oklch(53.8% 0.141 262.8);
Tailwind
colors: {
  custom: {
    50: '#8294d3',
    500: '#406abf',
    950: '#000000',
  },
}
SCSS
$custom: #406abf;
$custom-light: #8294d3;
$custom-dark: #000000;
JSON
{
  "hex": "#406abf",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 191
  },
  "hsl": {
    "h": 220.157,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.14119,
    "h": 262.8
  },
  "luminance": 0.1516
}

Semantic roles & 50–950 ramp

primary
#406ABF
secondary
#CAB791
accent
#AB4ED9
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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