#406DC1#406DC1

#406DC1 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.5% C 0.140 H 261.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#406DC1
RGBrgb(64, 109, 193)
HSLhsl(219, 51%, 50%)
HSVhsv(219, 67%, 76%)
CMYKcmyk(66.8%, 43.5%, 0%, 24.3%)
CIE-LABlab(46.81, 12.10, -48.63)
CIE-LCHlch(46.81, 50.12, 283.98°)
OKLaboklab(54.54% -0.0203 -0.1389)
OKLCHoklch(54.54% 0.14 261.7)
XYZxyz(17.2052, 15.8758, 52.5994)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DC1 #C19440
analogous
#40ADC1 #406DC1 #5440C1
triadic
#406DC1 #C1406D #6DC140
tetradic
#406DC1 #C140AD #C19440 #40C154
square
#406DC1 #C140AD #C19440 #40C154
split-complementary
#406DC1 #C15440 #ADC140
monochromatic
#213966 #305394 #406DC1 #6E90D0 #9CB4DF

Accessibility & contrast

On white

5.03
#406DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#406DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DC1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DC1#FFFFFF#000000##FFFFFF
##406DC11.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4575C4
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406dc1;
/* rgb */ color: rgb(64, 109, 193);
/* oklch */ color: oklch(54.5% 0.140 261.7);
Tailwind
colors: {
  custom: {
    50: '#8296d4',
    500: '#406dc1',
    950: '#000000',
  },
}
SCSS
$custom: #406dc1;
$custom-light: #8296d4;
$custom-dark: #000000;
JSON
{
  "hex": "#406dc1",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 193
  },
  "hsl": {
    "h": 219.07,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.14038,
    "h": 261.7
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#406DC1
secondary
#CBB792
accent
#A94DDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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