#406DC6#406DC6

#406DC6 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.9% C 0.147 H 262.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#406DC6
RGBrgb(64, 109, 198)
HSLhsl(220, 54%, 51%)
HSVhsv(220, 68%, 78%)
CMYKcmyk(67.7%, 44.9%, 0%, 22.4%)
CIE-LABlab(47.11, 13.90, -51.04)
CIE-LCHlch(47.11, 52.89, 285.23°)
OKLaboklab(54.86% -0.0194 -0.146)
OKLCHoklch(54.86% 0.147 262.4)
XYZxyz(17.7724, 16.1027, 55.5866)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DC6 #C69940
analogous
#40B0C6 #406DC6 #5640C6
triadic
#406DC6 #C6406D #6DC640
tetradic
#406DC6 #C640B0 #C69940 #40C656
square
#406DC6 #C640B0 #C69940 #40C656
split-complementary
#406DC6 #C65640 #B0C640
monochromatic
#20396C #2E539B #406DC6 #6F91D4 #9EB5E2

Accessibility & contrast

On white

4.98
#406DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#406DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DC6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DC6#FFFFFF#000000##FFFFFF
##406DC61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4176C9
Deuteranopia (green-blind)
#296AC4
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406dc6;
/* rgb */ color: rgb(64, 109, 198);
/* oklch */ color: oklch(54.9% 0.147 262.4);
Tailwind
colors: {
  custom: {
    50: '#8396d8',
    500: '#406dc6',
    950: '#000000',
  },
}
SCSS
$custom: #406dc6;
$custom-light: #8396d8;
$custom-dark: #000000;
JSON
{
  "hex": "#406dc6",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 198
  },
  "hsl": {
    "h": 219.851,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.14725,
    "h": 262.4
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#406DC6
secondary
#CEBB93
accent
#AC4ADD
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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