#406DC0#406DC0

#406DC0 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.139 H 261.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#406DC0
RGBrgb(64, 109, 192)
HSLhsl(219, 50%, 50%)
HSVhsv(219, 67%, 75%)
CMYKcmyk(66.7%, 43.2%, 0%, 24.7%)
CIE-LABlab(46.75, 11.75, -48.15)
CIE-LCHlch(46.75, 49.56, 283.71°)
OKLaboklab(54.47% -0.0205 -0.1375)
OKLCHoklch(54.47% 0.139 261.5)
XYZxyz(17.0940, 15.8314, 52.0138)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DC0 #C09340
analogous
#40ADC0 #406DC0 #5340C0
triadic
#406DC0 #C0406D #6DC040
tetradic
#406DC0 #C040AD #C09340 #40C053
square
#406DC0 #C040AD #C09340 #40C053
split-complementary
#406DC0 #C05340 #ADC040
monochromatic
#213964 #305392 #406DC0 #6E90CF #9CB3DE

Accessibility & contrast

On white

5.04
#406DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#406DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DC0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DC0#FFFFFF#000000##FFFFFF
##406DC01.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4675C3
Deuteranopia (green-blind)
#3169BE
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406dc0;
/* rgb */ color: rgb(64, 109, 192);
/* oklch */ color: oklch(54.5% 0.139 261.5);
Tailwind
colors: {
  custom: {
    50: '#8296d3',
    500: '#406dc0',
    950: '#000000',
  },
}
SCSS
$custom: #406dc0;
$custom-light: #8296d3;
$custom-dark: #000000;
JSON
{
  "hex": "#406dc0",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 192
  },
  "hsl": {
    "h": 218.906,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.139,
    "h": 261.5
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#406DC0
secondary
#CBB691
accent
#A94EDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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