#406DCD#406DCD

#406DCD is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.3% C 0.157 H 263.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#406DCD
RGBrgb(64, 109, 205)
HSLhsl(221, 59%, 53%)
HSVhsv(221, 69%, 80%)
CMYKcmyk(68.8%, 46.8%, 0%, 19.6%)
CIE-LABlab(47.54, 16.41, -54.36)
CIE-LCHlch(47.54, 56.79, 286.80°)
OKLaboklab(55.33% -0.0183 -0.1557)
OKLCHoklch(55.33% 0.157 263.3)
XYZxyz(18.5985, 16.4332, 59.9375)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DCD #CDA040
analogous
#40B3CD #406DCD #5940CD
triadic
#406DCD #CD406D #6DCD40
tetradic
#406DCD #CD40B3 #CDA040 #40CD59
square
#406DCD #CD40B3 #CDA040 #40CD59
split-complementary
#406DCD #CD5940 #B3CD40
monochromatic
#1E3A74 #2B52A5 #406DCD #7192DA #A1B7E6

Accessibility & contrast

On white

4.90
#406DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#406DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DCD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DCD#FFFFFF#000000##FFFFFF
##406DCD1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#1B6BCB
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406dcd;
/* rgb */ color: rgb(64, 109, 205);
/* oklch */ color: oklch(55.3% 0.157 263.3);
Tailwind
colors: {
  custom: {
    50: '#8596dd',
    500: '#406dcd',
    950: '#000000',
  },
}
SCSS
$custom: #406dcd;
$custom-light: #8596dd;
$custom-dark: #000000;
JSON
{
  "hex": "#406dcd",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 220.851,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.15681,
    "h": 263.3
  },
  "luminance": 0.16435
}

Semantic roles & 50–950 ramp

primary
#406DCD
secondary
#D3BF96
accent
#B046E2
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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