#406CC1#406CC1

#406CC1 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.3% C 0.142 H 262.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#406CC1
RGBrgb(64, 108, 193)
HSLhsl(220, 51%, 50%)
HSVhsv(220, 67%, 76%)
CMYKcmyk(66.8%, 44%, 0%, 24.3%)
CIE-LABlab(46.53, 12.73, -49.08)
CIE-LCHlch(46.53, 50.71, 284.54°)
OKLaboklab(54.32% -0.0193 -0.1402)
OKLCHoklch(54.32% 0.142 262.1)
XYZxyz(17.0992, 15.6637, 52.5640)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CC1 #C19540
analogous
#40ACC1 #406CC1 #5440C1
triadic
#406CC1 #C1406C #6CC140
tetradic
#406CC1 #C140AC #C19540 #40C154
square
#406CC1 #C140AC #C19540 #40C154
split-complementary
#406CC1 #C15440 #ACC140
monochromatic
#213866 #305294 #406CC1 #6E90D0 #9CB3DF

Accessibility & contrast

On white

5.08
#406CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#406CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CC1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CC1#FFFFFF#000000##FFFFFF
##406CC11.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4375C4
Deuteranopia (green-blind)
#2D69BF
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406cc1;
/* rgb */ color: rgb(64, 108, 193);
/* oklch */ color: oklch(54.3% 0.142 262.1);
Tailwind
colors: {
  custom: {
    50: '#8295d4',
    500: '#406cc1',
    950: '#000000',
  },
}
SCSS
$custom: #406cc1;
$custom-light: #8295d4;
$custom-dark: #000000;
JSON
{
  "hex": "#406cc1",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 193
  },
  "hsl": {
    "h": 219.535,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.14156,
    "h": 262.1
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#406CC1
secondary
#CBB892
accent
#AA4DDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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