#406ACD#406ACD

#406ACD is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.7% C 0.160 H 264.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#406ACD
RGBrgb(64, 106, 205)
HSLhsl(222, 59%, 53%)
HSVhsv(222, 69%, 80%)
CMYKcmyk(68.8%, 48.3%, 0%, 19.6%)
CIE-LABlab(46.72, 18.31, -55.68)
CIE-LCHlch(46.72, 58.62, 288.20°)
OKLaboklab(54.7% -0.0156 -0.1597)
OKLCHoklch(54.7% 0.16 264.4)
XYZxyz(18.2840, 15.8040, 59.8327)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ACD #CDA340
analogous
#40B0CD #406ACD #5D40CD
triadic
#406ACD #CD406A #6ACD40
tetradic
#406ACD #CD40B0 #CDA340 #40CD5D
square
#406ACD #CD40B0 #CDA340 #40CD5D
split-complementary
#406ACD #CD5D40 #B0CD40
monochromatic
#1E3874 #2B4FA5 #406ACD #7190DA #A1B6E6

Accessibility & contrast

On white

5.05
#406ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#406ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ACD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ACD#FFFFFF#000000##FFFFFF
##406ACD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3476D1
Deuteranopia (green-blind)
#0C69CB
Tritanopia (blue-blind)
#008192
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406acd;
/* rgb */ color: rgb(64, 106, 205);
/* oklch */ color: oklch(54.7% 0.160 264.4);
Tailwind
colors: {
  custom: {
    50: '#8594dd',
    500: '#406acd',
    950: '#000000',
  },
}
SCSS
$custom: #406acd;
$custom-light: #8594dd;
$custom-dark: #000000;
JSON
{
  "hex": "#406acd",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 205
  },
  "hsl": {
    "h": 222.128,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.16044,
    "h": 264.4
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#406ACD
secondary
#D3C196
accent
#B346E2
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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