#406DC3#406DC3

#406DC3 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.7% C 0.143 H 262.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#406DC3
RGBrgb(64, 109, 195)
HSLhsl(219, 52%, 51%)
HSVhsv(219, 67%, 76%)
CMYKcmyk(67.2%, 44.1%, 0%, 23.5%)
CIE-LABlab(46.93, 12.82, -49.60)
CIE-LCHlch(46.93, 51.23, 284.49°)
OKLaboklab(54.67% -0.0199 -0.1417)
OKLCHoklch(54.67% 0.143 262)
XYZxyz(17.4298, 15.9657, 53.7823)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DC3 #C39640
analogous
#40AEC3 #406DC3 #5440C3
triadic
#406DC3 #C3406D #6DC340
tetradic
#406DC3 #C340AE #C39640 #40C354
square
#406DC3 #C340AE #C39640 #40C354
split-complementary
#406DC3 #C35440 #AEC340
monochromatic
#213968 #2F5397 #406DC3 #6F91D2 #9DB4E0

Accessibility & contrast

On white

5.01
#406DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#406DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DC3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DC3#FFFFFF#000000##FFFFFF
##406DC31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4476C6
Deuteranopia (green-blind)
#2D6AC1
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #406dc3;
/* rgb */ color: rgb(64, 109, 195);
/* oklch */ color: oklch(54.7% 0.143 262.0);
Tailwind
colors: {
  custom: {
    50: '#8396d6',
    500: '#406dc3',
    950: '#000000',
  },
}
SCSS
$custom: #406dc3;
$custom-light: #8396d6;
$custom-dark: #000000;
JSON
{
  "hex": "#406dc3",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 195
  },
  "hsl": {
    "h": 219.389,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54666,
    "c": 0.14313,
    "h": 262
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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