#406BCD#406BCD

#406BCD is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.9% C 0.159 H 264.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#406BCD
RGBrgb(64, 107, 205)
HSLhsl(222, 59%, 53%)
HSVhsv(222, 69%, 80%)
CMYKcmyk(68.8%, 47.8%, 0%, 19.6%)
CIE-LABlab(46.99, 17.67, -55.25)
CIE-LCHlch(46.99, 58.00, 287.74°)
OKLaboklab(54.91% -0.0165 -0.1584)
OKLCHoklch(54.91% 0.159 264.1)
XYZxyz(18.3876, 16.0113, 59.8672)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BCD #CDA240
analogous
#40B1CD #406BCD #5B40CD
triadic
#406BCD #CD406B #6BCD40
tetradic
#406BCD #CD40B1 #CDA240 #40CD5B
square
#406BCD #CD40B1 #CDA240 #40CD5B
split-complementary
#406BCD #CD5B40 #B1CD40
monochromatic
#1E3974 #2B50A5 #406BCD #7191DA #A1B6E6

Accessibility & contrast

On white

5.00
#406BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#406BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BCD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BCD#FFFFFF#000000##FFFFFF
##406BCD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#1269CB
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406bcd;
/* rgb */ color: rgb(64, 107, 205);
/* oklch */ color: oklch(54.9% 0.159 264.1);
Tailwind
colors: {
  custom: {
    50: '#8594dd',
    500: '#406bcd',
    950: '#000000',
  },
}
SCSS
$custom: #406bcd;
$custom-light: #8594dd;
$custom-dark: #000000;
JSON
{
  "hex": "#406bcd",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 221.702,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.15923,
    "h": 264.1
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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