#406CCE#406CCE

#406CCE is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.2% C 0.159 H 263.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#406CCE
RGBrgb(64, 108, 206)
HSLhsl(221, 59%, 53%)
HSVhsv(221, 69%, 81%)
CMYKcmyk(68.9%, 47.6%, 0%, 19.2%)
CIE-LABlab(47.33, 17.40, -55.28)
CIE-LCHlch(47.33, 57.95, 287.47°)
OKLaboklab(55.19% -0.0172 -0.1584)
OKLCHoklch(55.19% 0.159 263.8)
XYZxyz(18.6136, 16.2695, 60.5399)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CCE #CEA240
analogous
#40B3CE #406CCE #5B40CE
triadic
#406CCE #CE406C #6CCE40
tetradic
#406CCE #CE40B3 #CEA240 #40CE5B
square
#406CCE #CE40B3 #CEA240 #40CE5B
split-complementary
#406CCE #CE5B40 #B3CE40
monochromatic
#1E3975 #2B51A6 #406CCE #7191DA #A1B7E7

Accessibility & contrast

On white

4.94
#406CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#406CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CCE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CCE#FFFFFF#000000##FFFFFF
##406CCE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3877D2
Deuteranopia (green-blind)
#146ACC
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406cce;
/* rgb */ color: rgb(64, 108, 206);
/* oklch */ color: oklch(55.2% 0.159 263.8);
Tailwind
colors: {
  custom: {
    50: '#8595dd',
    500: '#406cce',
    950: '#000000',
  },
}
SCSS
$custom: #406cce;
$custom-light: #8595dd;
$custom-dark: #000000;
JSON
{
  "hex": "#406cce",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 221.408,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.15938,
    "h": 263.8
  },
  "luminance": 0.16271
}

Semantic roles & 50–950 ramp

primary
#406CCE
secondary
#D4C196
accent
#B245E2
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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