#406FCC#406FCC

#406FCC is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.7% C 0.153 H 262.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#406FCC
RGBrgb(64, 111, 204)
HSLhsl(220, 58%, 53%)
HSVhsv(220, 69%, 80%)
CMYKcmyk(68.6%, 45.6%, 0%, 20%)
CIE-LABlab(48.03, 14.79, -53.00)
CIE-LCHlch(48.03, 55.03, 285.59°)
OKLaboklab(55.69% -0.0203 -0.1517)
OKLCHoklch(55.69% 0.153 262.4)
XYZxyz(18.6940, 16.8166, 59.3758)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FCC #CC9D40
analogous
#40B5CC #406FCC #5740CC
triadic
#406FCC #CC406F #6FCC40
tetradic
#406FCC #CC40B5 #CC9D40 #40CC57
square
#406FCC #CC40B5 #CC9D40 #40CC57
split-complementary
#406FCC #CC5740 #B5CC40
monochromatic
#1F3B73 #2C54A3 #406FCC #7093D9 #A1B8E6

Accessibility & contrast

On white

4.81
#406FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#406FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FCC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FCC#FFFFFF#000000##FFFFFF
##406FCC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406fcc;
/* rgb */ color: rgb(64, 111, 204);
/* oklch */ color: oklch(55.7% 0.153 262.4);
Tailwind
colors: {
  custom: {
    50: '#8497dc',
    500: '#406fcc',
    950: '#000000',
  },
}
SCSS
$custom: #406fcc;
$custom-light: #8497dc;
$custom-dark: #000000;
JSON
{
  "hex": "#406fcc",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 204
  },
  "hsl": {
    "h": 219.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.15307,
    "h": 262.4
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#406FCC
secondary
#D2BE95
accent
#AD47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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