#406ABB#406ABB

#406ABB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.5% C 0.136 H 262.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#406ABB
RGBrgb(64, 106, 187)
HSLhsl(220, 49%, 49%)
HSVhsv(220, 66%, 73%)
CMYKcmyk(65.8%, 43.3%, 0%, 26.7%)
CIE-LABlab(45.61, 11.85, -47.08)
CIE-LCHlch(45.61, 48.55, 284.13°)
OKLaboklab(53.5% -0.0185 -0.1344)
OKLCHoklch(53.5% 0.136 262.2)
XYZxyz(16.2349, 14.9844, 49.0408)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ABB #BB9140
analogous
#40A8BB #406ABB #5440BB
triadic
#406ABB #BB406A #6ABB40
tetradic
#406ABB #BB40A8 #BB9140 #40BB54
square
#406ABB #BB40A8 #BB9140 #40BB54
split-complementary
#406ABB #BB5440 #A8BB40
monochromatic
#213660 #30508D #406ABB #6C8DCD #99B0DC

Accessibility & contrast

On white

5.25
#406ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#406ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ABB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ABB#FFFFFF#000000##FFFFFF
##406ABB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#3067B9
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406abb;
/* rgb */ color: rgb(64, 106, 187);
/* oklch */ color: oklch(53.5% 0.136 262.2);
Tailwind
colors: {
  custom: {
    50: '#8194d0',
    500: '#406abb',
    950: '#000000',
  },
}
SCSS
$custom: #406abb;
$custom-light: #8194d0;
$custom-dark: #000000;
JSON
{
  "hex": "#406abb",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 187
  },
  "hsl": {
    "h": 219.512,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.13563,
    "h": 262.2
  },
  "luminance": 0.14986
}

Semantic roles & 50–950 ramp

primary
#406ABB
secondary
#C8B48F
accent
#AA4FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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