#406BD9#406BD9

#406BD9 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.8% C 0.175 H 265.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#406BD9
RGBrgb(64, 107, 217)
HSLhsl(223, 67%, 55%)
HSVhsv(223, 71%, 85%)
CMYKcmyk(70.5%, 50.7%, 0%, 14.9%)
CIE-LABlab(47.77, 21.99, -60.83)
CIE-LCHlch(47.77, 64.69, 289.88°)
OKLaboklab(55.75% -0.015 -0.1748)
OKLCHoklch(55.75% 0.175 265.1)
XYZxyz(19.8920, 16.6131, 67.7905)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BD9 #D9AE40
analogous
#40B8D9 #406BD9 #6140D9
triadic
#406BD9 #D9406B #6BD940
tetradic
#406BD9 #D940B8 #D9AE40 #40D961
square
#406BD9 #D940B8 #D9AE40 #40D961
split-complementary
#406BD9 #D96140 #B8D940
monochromatic
#1A3884 #244EB7 #406BD9 #7393E3 #A6BAED

Accessibility & contrast

On white

4.86
#406BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#406BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BD9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BD9#FFFFFF#000000##FFFFFF
##406BD91.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2779DD
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #406bd9;
/* rgb */ color: rgb(64, 107, 217);
/* oklch */ color: oklch(55.8% 0.175 265.1);
Tailwind
colors: {
  custom: {
    50: '#8794e5',
    500: '#406bd9',
    950: '#000000',
  },
}
SCSS
$custom: #406bd9;
$custom-light: #8794e5;
$custom-dark: #000000;
JSON
{
  "hex": "#406bd9",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 217
  },
  "hsl": {
    "h": 223.137,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55753,
    "c": 0.17545,
    "h": 265.1
  },
  "luminance": 0.16615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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