#406CCD#406CCD

#406CCD is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.1% C 0.158 H 263.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#406CCD
RGBrgb(64, 108, 205)
HSLhsl(221, 59%, 53%)
HSVhsv(221, 69%, 80%)
CMYKcmyk(68.8%, 47.3%, 0%, 19.6%)
CIE-LABlab(47.26, 17.04, -54.80)
CIE-LCHlch(47.26, 57.39, 287.27°)
OKLaboklab(55.12% -0.0174 -0.1571)
OKLCHoklch(55.12% 0.158 263.7)
XYZxyz(18.4925, 16.2210, 59.9022)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CCD #CDA140
analogous
#40B2CD #406CCD #5B40CD
triadic
#406CCD #CD406C #6CCD40
tetradic
#406CCD #CD40B2 #CDA140 #40CD5B
square
#406CCD #CD40B2 #CDA140 #40CD5B
split-complementary
#406CCD #CD5B40 #B2CD40
monochromatic
#1E3974 #2B51A5 #406CCD #7191DA #A1B7E6

Accessibility & contrast

On white

4.95
#406CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#406CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CCD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CCD#FFFFFF#000000##FFFFFF
##406CCD1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#176ACB
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406ccd;
/* rgb */ color: rgb(64, 108, 205);
/* oklch */ color: oklch(55.1% 0.158 263.7);
Tailwind
colors: {
  custom: {
    50: '#8595dd',
    500: '#406ccd',
    950: '#000000',
  },
}
SCSS
$custom: #406ccd;
$custom-light: #8595dd;
$custom-dark: #000000;
JSON
{
  "hex": "#406ccd",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 205
  },
  "hsl": {
    "h": 221.277,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55119,
    "c": 0.15802,
    "h": 263.7
  },
  "luminance": 0.16223
}

Semantic roles & 50–950 ramp

primary
#406CCD
secondary
#D3C096
accent
#B146E2
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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