#406BCF#406BCF

#406BCF is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.0% C 0.162 H 264.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#406BCF
RGBrgb(64, 107, 207)
HSLhsl(222, 60%, 53%)
HSVhsv(222, 69%, 81%)
CMYKcmyk(69.1%, 48.3%, 0%, 18.8%)
CIE-LABlab(47.12, 18.39, -56.19)
CIE-LCHlch(47.12, 59.12, 288.13°)
OKLaboklab(55.05% -0.0162 -0.1611)
OKLCHoklch(55.05% 0.162 264.3)
XYZxyz(18.6306, 16.1085, 61.1468)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BCF #CFA440
analogous
#40B2CF #406BCF #5C40CF
triadic
#406BCF #CF406B #6BCF40
tetradic
#406BCF #CF40B2 #CFA440 #40CF5C
square
#406BCF #CF40B2 #CFA440 #40CF5C
split-complementary
#406BCF #CF5C40 #B2CF40
monochromatic
#1E3977 #2A50A8 #406BCF #7191DB #A2B7E8

Accessibility & contrast

On white

4.97
#406BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#406BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BCF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BCF#FFFFFF#000000##FFFFFF
##406BCF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3477D3
Deuteranopia (green-blind)
#0A6ACD
Tritanopia (blue-blind)
#008293
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406bcf;
/* rgb */ color: rgb(64, 107, 207);
/* oklch */ color: oklch(55.0% 0.162 264.3);
Tailwind
colors: {
  custom: {
    50: '#8594de',
    500: '#406bcf',
    950: '#000000',
  },
}
SCSS
$custom: #406bcf;
$custom-light: #8594de;
$custom-dark: #000000;
JSON
{
  "hex": "#406bcf",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 207
  },
  "hsl": {
    "h": 221.958,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55048,
    "c": 0.16194,
    "h": 264.3
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

primary
#406BCF
secondary
#D4C297
accent
#B345E3
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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