#406ADF#406ADF

#406ADF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.0% C 0.185 H 265.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#406ADF
RGBrgb(64, 106, 223)
HSLhsl(224, 71%, 56%)
HSVhsv(224, 71%, 87%)
CMYKcmyk(71.3%, 52.5%, 0%, 12.5%)
CIE-LABlab(47.91, 24.78, -64.01)
CIE-LCHlch(47.91, 68.64, 291.17°)
OKLaboklab(55.99% -0.0136 -0.1842)
OKLCHoklch(55.99% 0.185 265.8)
XYZxyz(20.5830, 16.7236, 71.9409)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ADF #DFB540
analogous
#40BADF #406ADF #6640DF
triadic
#406ADF #DF406A #6ADF40
tetradic
#406ADF #DF40BA #DFB540 #40DF66
square
#406ADF #DF40BA #DFB540 #40DF66
split-complementary
#406ADF #DF6640 #BADF40
monochromatic
#18378D #204BC1 #406ADF #7493E8 #A9BCF1

Accessibility & contrast

On white

4.83
#406ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#406ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ADF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ADF#FFFFFF#000000##FFFFFF
##406ADF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1779E3
Deuteranopia (green-blind)
#006BDD
Tritanopia (blue-blind)
#00869A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406adf;
/* rgb */ color: rgb(64, 106, 223);
/* oklch */ color: oklch(56.0% 0.185 265.8);
Tailwind
colors: {
  custom: {
    50: '#8894ea',
    500: '#406adf',
    950: '#000000',
  },
}
SCSS
$custom: #406adf;
$custom-light: #8894ea;
$custom-dark: #000000;
JSON
{
  "hex": "#406adf",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 223
  },
  "hsl": {
    "h": 224.151,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55989,
    "c": 0.18466,
    "h": 265.8
  },
  "luminance": 0.16726
}

Semantic roles & 50–950 ramp

primary
#406ADF
secondary
#DECD9D
accent
#BE3AEE
background
#F9F9FE
surface
#F1F1FD
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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