#406DD8#406DD8

#406DD8 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.1% C 0.172 H 264.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#406DD8
RGBrgb(64, 109, 216)
HSLhsl(222, 66%, 55%)
HSVhsv(222, 70%, 85%)
CMYKcmyk(70.4%, 49.5%, 0%, 15.3%)
CIE-LABlab(48.24, 20.37, -59.51)
CIE-LCHlch(48.24, 62.90, 288.90°)
OKLaboklab(56.09% -0.0168 -0.1709)
OKLCHoklch(56.09% 0.172 264.4)
XYZxyz(19.9733, 16.9831, 67.1779)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DD8 #D8AB40
analogous
#40B9D8 #406DD8 #5F40D8
triadic
#406DD8 #D8406D #6DD840
tetradic
#406DD8 #D840B9 #D8AB40 #40D85F
square
#406DD8 #D840B9 #D8AB40 #40D85F
split-complementary
#406DD8 #D85F40 #B9D840
monochromatic
#1B3A83 #2550B6 #406DD8 #7394E2 #A6BBED

Accessibility & contrast

On white

4.78
#406DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#406DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DD8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DD8#FFFFFF#000000##FFFFFF
##406DD81.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADC
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #406dd8;
/* rgb */ color: rgb(64, 109, 216);
/* oklch */ color: oklch(56.1% 0.172 264.4);
Tailwind
colors: {
  custom: {
    50: '#8796e5',
    500: '#406dd8',
    950: '#000000',
  },
}
SCSS
$custom: #406dd8;
$custom-light: #8796e5;
$custom-dark: #000000;
JSON
{
  "hex": "#406dd8",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 216
  },
  "hsl": {
    "h": 222.237,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.17169,
    "h": 264.4
  },
  "luminance": 0.16985
}

Semantic roles & 50–950 ramp

primary
#406DD8
secondary
#DAC79A
accent
#B73FE9
background
#F9F9FE
surface
#F1F1FC
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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