#406DC9#406DC9

#406DC9 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.1% C 0.151 H 262.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#406DC9
RGBrgb(64, 109, 201)
HSLhsl(220, 56%, 52%)
HSVhsv(220, 68%, 79%)
CMYKcmyk(68.2%, 45.8%, 0%, 21.2%)
CIE-LABlab(47.29, 14.97, -52.47)
CIE-LCHlch(47.29, 54.56, 285.93°)
OKLaboklab(55.06% -0.0189 -0.1502)
OKLCHoklch(55.06% 0.151 262.8)
XYZxyz(18.1219, 16.2425, 57.4271)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DC9 #C99C40
analogous
#40B1C9 #406DC9 #5840C9
triadic
#406DC9 #C9406D #6DC940
tetradic
#406DC9 #C940B1 #C99C40 #40C958
square
#406DC9 #C940B1 #C99C40 #40C958
split-complementary
#406DC9 #C95840 #B1C940
monochromatic
#1F3A6F #2D529F #406DC9 #7091D6 #9FB6E4

Accessibility & contrast

On white

4.94
#406DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#406DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DC9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DC9#FFFFFF#000000##FFFFFF
##406DC91.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F77CC
Deuteranopia (green-blind)
#246AC7
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406dc9;
/* rgb */ color: rgb(64, 109, 201);
/* oklch */ color: oklch(55.1% 0.151 262.8);
Tailwind
colors: {
  custom: {
    50: '#8496da',
    500: '#406dc9',
    950: '#000000',
  },
}
SCSS
$custom: #406dc9;
$custom-light: #8496da;
$custom-dark: #000000;
JSON
{
  "hex": "#406dc9",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 201
  },
  "hsl": {
    "h": 220.292,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55061,
    "c": 0.15136,
    "h": 262.8
  },
  "luminance": 0.16244
}

Semantic roles & 50–950 ramp

primary
#406DC9
secondary
#D0BD94
accent
#AE49DF
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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