#406ECF#406ECF

#406ECF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.7% C 0.158 H 263.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#406ECF
RGBrgb(64, 110, 207)
HSLhsl(221, 60%, 53%)
HSVhsv(221, 69%, 81%)
CMYKcmyk(69.1%, 46.9%, 0%, 18.8%)
CIE-LABlab(47.94, 16.50, -54.87)
CIE-LCHlch(47.94, 57.29, 286.74°)
OKLaboklab(55.68% -0.0189 -0.1572)
OKLCHoklch(55.68% 0.158 263.1)
XYZxyz(18.9488, 16.7449, 61.2529)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ECF #CFA140
analogous
#40B6CF #406ECF #5940CF
triadic
#406ECF #CF406E #6ECF40
tetradic
#406ECF #CF40B6 #CFA140 #40CF59
square
#406ECF #CF40B6 #CFA140 #40CF59
split-complementary
#406ECF #CF5940 #B6CF40
monochromatic
#1E3A77 #2A53A8 #406ECF #7193DB #A2B8E8

Accessibility & contrast

On white

4.83
#406ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#406ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ECF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ECF#FFFFFF#000000##FFFFFF
##406ECF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B79D3
Deuteranopia (green-blind)
#1B6CCD
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406ecf;
/* rgb */ color: rgb(64, 110, 207);
/* oklch */ color: oklch(55.7% 0.158 263.1);
Tailwind
colors: {
  custom: {
    50: '#8597de',
    500: '#406ecf',
    950: '#000000',
  },
}
SCSS
$custom: #406ecf;
$custom-light: #8597de;
$custom-dark: #000000;
JSON
{
  "hex": "#406ecf",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 207
  },
  "hsl": {
    "h": 220.699,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.15834,
    "h": 263.1
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#406ECF
secondary
#D4C097
accent
#B045E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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