#406DC8#406DC8

#406DC8 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.0% C 0.150 H 262.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#406DC8
RGBrgb(64, 109, 200)
HSLhsl(220, 55%, 52%)
HSVhsv(220, 68%, 78%)
CMYKcmyk(68%, 45.5%, 0%, 21.6%)
CIE-LABlab(47.23, 14.61, -51.99)
CIE-LCHlch(47.23, 54.01, 285.70°)
OKLaboklab(54.99% -0.0191 -0.1488)
OKLCHoklch(54.99% 0.15 262.7)
XYZxyz(18.0046, 16.1956, 56.8096)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DC8 #C89B40
analogous
#40B1C8 #406DC8 #5740C8
triadic
#406DC8 #C8406D #6DC840
tetradic
#406DC8 #C840B1 #C89B40 #40C857
square
#406DC8 #C840B1 #C89B40 #40C857
split-complementary
#406DC8 #C85740 #B1C840
monochromatic
#203A6E #2D529D #406DC8 #7091D6 #9FB6E3

Accessibility & contrast

On white

4.95
#406DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#406DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DC8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DC8#FFFFFF#000000##FFFFFF
##406DC81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F77CB
Deuteranopia (green-blind)
#256AC6
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406dc8;
/* rgb */ color: rgb(64, 109, 200);
/* oklch */ color: oklch(55.0% 0.150 262.7);
Tailwind
colors: {
  custom: {
    50: '#8496d9',
    500: '#406dc8',
    950: '#000000',
  },
}
SCSS
$custom: #406dc8;
$custom-light: #8496d9;
$custom-dark: #000000;
JSON
{
  "hex": "#406dc8",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 200
  },
  "hsl": {
    "h": 220.147,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.14999,
    "h": 262.7
  },
  "luminance": 0.16197
}

Semantic roles & 50–950 ramp

primary
#406DC8
secondary
#D0BC94
accent
#AD49DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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