#406FC3#406FC3

#406FC3 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.1% C 0.141 H 261.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#406FC3
RGBrgb(64, 111, 195)
HSLhsl(218, 52%, 51%)
HSVhsv(218, 67%, 76%)
CMYKcmyk(67.2%, 43.1%, 0%, 23.5%)
CIE-LABlab(47.49, 11.57, -48.70)
CIE-LCHlch(47.49, 50.05, 283.36°)
OKLaboklab(55.1% -0.0219 -0.1391)
OKLCHoklch(55.1% 0.141 261.1)
XYZxyz(17.6456, 16.3972, 53.8542)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FC3 #C39440
analogous
#40B0C3 #406FC3 #5240C3
triadic
#406FC3 #C3406F #6FC340
tetradic
#406FC3 #C340B0 #C39440 #40C352
square
#406FC3 #C340B0 #C39440 #40C352
split-complementary
#406FC3 #C35240 #B0C340
monochromatic
#213A68 #2F5497 #406FC3 #6F92D2 #9DB5E0

Accessibility & contrast

On white

4.91
#406FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#406FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FC3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FC3#FFFFFF#000000##FFFFFF
##406FC31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4777C6
Deuteranopia (green-blind)
#316BC1
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406fc3;
/* rgb */ color: rgb(64, 111, 195);
/* oklch */ color: oklch(55.1% 0.141 261.1);
Tailwind
colors: {
  custom: {
    50: '#8397d6',
    500: '#406fc3',
    950: '#000000',
  },
}
SCSS
$custom: #406fc3;
$custom-light: #8397d6;
$custom-dark: #000000;
JSON
{
  "hex": "#406fc3",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 195
  },
  "hsl": {
    "h": 218.473,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55099,
    "c": 0.14077,
    "h": 261.1
  },
  "luminance": 0.16399
}

Semantic roles & 50–950 ramp

primary
#406FC3
secondary
#CCB892
accent
#A84CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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