#406ABD#406ABD

#406ABD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.6% C 0.138 H 262.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#406ABD
RGBrgb(64, 106, 189)
HSLhsl(220, 49%, 50%)
HSVhsv(220, 66%, 74%)
CMYKcmyk(66.1%, 43.9%, 0%, 25.9%)
CIE-LABlab(45.73, 12.56, -48.05)
CIE-LCHlch(45.73, 49.66, 284.65°)
OKLaboklab(53.63% -0.0181 -0.1372)
OKLCHoklch(53.63% 0.138 262.5)
XYZxyz(16.4505, 15.0706, 50.1762)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ABD #BD9340
analogous
#40A9BD #406ABD #5540BD
triadic
#406ABD #BD406A #6ABD40
tetradic
#406ABD #BD40A9 #BD9340 #40BD55
square
#406ABD #BD40A9 #BD9340 #40BD55
split-complementary
#406ABD #BD5540 #A9BD40
monochromatic
#213762 #31508F #406ABD #6D8DCD #9AB1DD

Accessibility & contrast

On white

5.23
#406ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#406ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ABD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ABD#FFFFFF#000000##FFFFFF
##406ABD1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4272C0
Deuteranopia (green-blind)
#2E67BB
Tritanopia (blue-blind)
#007D8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406abd;
/* rgb */ color: rgb(64, 106, 189);
/* oklch */ color: oklch(53.6% 0.138 262.5);
Tailwind
colors: {
  custom: {
    50: '#8294d1',
    500: '#406abd',
    950: '#000000',
  },
}
SCSS
$custom: #406abd;
$custom-light: #8294d1;
$custom-dark: #000000;
JSON
{
  "hex": "#406abd",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 189
  },
  "hsl": {
    "h": 219.84,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.13842,
    "h": 262.5
  },
  "luminance": 0.15072
}

Semantic roles & 50–950 ramp

primary
#406ABD
secondary
#C9B690
accent
#AB4FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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