#406CD9#406CD9

#406CD9 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.0% C 0.174 H 264.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#406CD9
RGBrgb(64, 108, 217)
HSLhsl(223, 67%, 55%)
HSVhsv(223, 71%, 85%)
CMYKcmyk(70.5%, 50.2%, 0%, 14.9%)
CIE-LABlab(48.04, 21.36, -60.40)
CIE-LCHlch(48.04, 64.07, 289.48°)
OKLaboklab(55.96% -0.0158 -0.1735)
OKLCHoklch(55.96% 0.174 264.8)
XYZxyz(19.9969, 16.8228, 67.8254)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CD9 #D9AD40
analogous
#40B9D9 #406CD9 #6040D9
triadic
#406CD9 #D9406C #6CD940
tetradic
#406CD9 #D940B9 #D9AD40 #40D960
square
#406CD9 #D940B9 #D9AD40 #40D960
split-complementary
#406CD9 #D96040 #B9D940
monochromatic
#1A3984 #244FB7 #406CD9 #7393E3 #A6BBED

Accessibility & contrast

On white

4.81
#406CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#406CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CD9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CD9#FFFFFF#000000##FFFFFF
##406CD91.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A79DD
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #406cd9;
/* rgb */ color: rgb(64, 108, 217);
/* oklch */ color: oklch(56.0% 0.174 264.8);
Tailwind
colors: {
  custom: {
    50: '#8795e5',
    500: '#406cd9',
    950: '#000000',
  },
}
SCSS
$custom: #406cd9;
$custom-light: #8795e5;
$custom-dark: #000000;
JSON
{
  "hex": "#406cd9",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 222.745,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55957,
    "c": 0.17424,
    "h": 264.8
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#406CD9
secondary
#DAC89A
accent
#B83EEA
background
#F9F9FE
surface
#F1F1FC
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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