#406DCF#406DCF

#406DCF is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.5% C 0.160 H 263.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#406DCF
RGBrgb(64, 109, 207)
HSLhsl(221, 60%, 53%)
HSVhsv(221, 69%, 81%)
CMYKcmyk(69.1%, 47.3%, 0%, 18.8%)
CIE-LABlab(47.66, 17.13, -55.31)
CIE-LCHlch(47.66, 57.90, 287.21°)
OKLaboklab(55.47% -0.018 -0.1585)
OKLCHoklch(55.47% 0.16 263.5)
XYZxyz(18.8415, 16.5303, 61.2171)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DCF #CFA240
analogous
#40B4CF #406DCF #5A40CF
triadic
#406DCF #CF406D #6DCF40
tetradic
#406DCF #CF40B4 #CFA240 #40CF5A
square
#406DCF #CF40B4 #CFA240 #40CF5A
split-complementary
#406DCF #CF5A40 #B4CF40
monochromatic
#1E3A77 #2A52A8 #406DCF #7192DB #A2B8E8

Accessibility & contrast

On white

4.88
#406DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#406DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DCF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DCF#FFFFFF#000000##FFFFFF
##406DCF1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3978D3
Deuteranopia (green-blind)
#166BCD
Tritanopia (blue-blind)
#008494
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406dcf;
/* rgb */ color: rgb(64, 109, 207);
/* oklch */ color: oklch(55.5% 0.160 263.5);
Tailwind
colors: {
  custom: {
    50: '#8596de',
    500: '#406dcf',
    950: '#000000',
  },
}
SCSS
$custom: #406dcf;
$custom-light: #8596de;
$custom-dark: #000000;
JSON
{
  "hex": "#406dcf",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 221.119,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.15954,
    "h": 263.5
  },
  "luminance": 0.16532
}

Semantic roles & 50–950 ramp

primary
#406DCF
secondary
#D4C197
accent
#B145E3
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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