#406ABE#406ABE

#406ABE is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.7% C 0.140 H 262.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#406ABE
RGBrgb(64, 106, 190)
HSLhsl(220, 50%, 50%)
HSVhsv(220, 66%, 75%)
CMYKcmyk(66.3%, 44.2%, 0%, 25.5%)
CIE-LABlab(45.79, 12.92, -48.53)
CIE-LCHlch(45.79, 50.22, 284.91°)
OKLaboklab(53.69% -0.0179 -0.1386)
OKLCHoklch(53.69% 0.14 262.6)
XYZxyz(16.5594, 15.1142, 50.7499)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ABE #BE9440
analogous
#40A9BE #406ABE #5540BE
triadic
#406ABE #BE406A #6ABE40
tetradic
#406ABE #BE40A9 #BE9440 #40BE55
square
#406ABE #BE40A9 #BE9440 #40BE55
split-complementary
#406ABE #BE5540 #A9BE40
monochromatic
#213762 #315090 #406ABE #6D8DCE #9BB1DD

Accessibility & contrast

On white

5.22
#406ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#406ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ABE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ABE#FFFFFF#000000##FFFFFF
##406ABE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4273C1
Deuteranopia (green-blind)
#2C67BC
Tritanopia (blue-blind)
#007D8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406abe;
/* rgb */ color: rgb(64, 106, 190);
/* oklch */ color: oklch(53.7% 0.140 262.6);
Tailwind
colors: {
  custom: {
    50: '#8294d2',
    500: '#406abe',
    950: '#000000',
  },
}
SCSS
$custom: #406abe;
$custom-light: #8294d2;
$custom-dark: #000000;
JSON
{
  "hex": "#406abe",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 190
  },
  "hsl": {
    "h": 220,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53693,
    "c": 0.1398,
    "h": 262.6
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#406ABE
secondary
#C9B690
accent
#AB4FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #406ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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