#406BC4#406BC4

#406BC4 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.3% C 0.147 H 263.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#406BC4
RGBrgb(64, 107, 196)
HSLhsl(220, 53%, 51%)
HSVhsv(220, 67%, 77%)
CMYKcmyk(67.3%, 45.4%, 0%, 23.1%)
CIE-LABlab(46.43, 14.44, -50.97)
CIE-LCHlch(46.43, 52.98, 285.82°)
OKLaboklab(54.3% -0.0179 -0.1458)
OKLCHoklch(54.3% 0.147 263)
XYZxyz(17.3323, 15.5892, 54.3094)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BC4 #C49940
analogous
#40ADC4 #406BC4 #5740C4
triadic
#406BC4 #C4406B #6BC440
tetradic
#406BC4 #C440AD #C49940 #40C457
square
#406BC4 #C440AD #C49940 #40C457
split-complementary
#406BC4 #C45740 #ADC440
monochromatic
#203869 #2F5198 #406BC4 #6F8FD2 #9EB3E1

Accessibility & contrast

On white

5.10
#406BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#406BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BC4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BC4#FFFFFF#000000##FFFFFF
##406BC41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C7
Deuteranopia (green-blind)
#2668C2
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406bc4;
/* rgb */ color: rgb(64, 107, 196);
/* oklch */ color: oklch(54.3% 0.147 263.0);
Tailwind
colors: {
  custom: {
    50: '#8394d6',
    500: '#406bc4',
    950: '#000000',
  },
}
SCSS
$custom: #406bc4;
$custom-light: #8394d6;
$custom-dark: #000000;
JSON
{
  "hex": "#406bc4",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 196
  },
  "hsl": {
    "h": 220.455,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54302,
    "c": 0.14689,
    "h": 263
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#406BC4
secondary
#CDBA93
accent
#AD4CDC
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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