#406BC3#406BC3

#406BC3 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.2% C 0.146 H 262.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#406BC3
RGBrgb(64, 107, 195)
HSLhsl(220, 52%, 51%)
HSVhsv(220, 67%, 76%)
CMYKcmyk(67.2%, 45.1%, 0%, 23.5%)
CIE-LABlab(46.37, 14.08, -50.49)
CIE-LCHlch(46.37, 52.42, 285.58°)
OKLaboklab(54.24% -0.018 -0.1444)
OKLCHoklch(54.24% 0.146 262.9)
XYZxyz(17.2189, 15.5438, 53.7120)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BC3 #C39840
analogous
#40ADC3 #406BC3 #5640C3
triadic
#406BC3 #C3406B #6BC340
tetradic
#406BC3 #C340AD #C39840 #40C356
square
#406BC3 #C340AD #C39840 #40C356
split-complementary
#406BC3 #C35640 #ADC340
monochromatic
#213868 #2F5197 #406BC3 #6F8FD2 #9DB3E0

Accessibility & contrast

On white

5.11
#406BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#406BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BC3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BC3#FFFFFF#000000##FFFFFF
##406BC31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4074C6
Deuteranopia (green-blind)
#2868C1
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406bc3;
/* rgb */ color: rgb(64, 107, 195);
/* oklch */ color: oklch(54.2% 0.146 262.9);
Tailwind
colors: {
  custom: {
    50: '#8394d6',
    500: '#406bc3',
    950: '#000000',
  },
}
SCSS
$custom: #406bc3;
$custom-light: #8394d6;
$custom-dark: #000000;
JSON
{
  "hex": "#406bc3",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 195
  },
  "hsl": {
    "h": 220.305,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.14551,
    "h": 262.9
  },
  "luminance": 0.15546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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