#406FD8#406FD8

#406FD8 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.5% C 0.169 H 263.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#406FD8
RGBrgb(64, 111, 216)
HSLhsl(221, 66%, 55%)
HSVhsv(221, 70%, 85%)
CMYKcmyk(70.4%, 48.6%, 0%, 15.3%)
CIE-LABlab(48.78, 19.11, -58.64)
CIE-LCHlch(48.78, 61.67, 288.05°)
OKLaboklab(56.5% -0.0185 -0.1683)
OKLCHoklch(56.5% 0.169 263.7)
XYZxyz(20.1891, 17.4146, 67.2498)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FD8 #D8A940
analogous
#40BBD8 #406FD8 #5D40D8
triadic
#406FD8 #D8406F #6FD840
tetradic
#406FD8 #D840BB #D8A940 #40D85D
square
#406FD8 #D840BB #D8A940 #40D85D
split-complementary
#406FD8 #D85D40 #BBD840
monochromatic
#1B3B83 #2552B6 #406FD8 #7395E2 #A6BCED

Accessibility & contrast

On white

4.68
#406FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#406FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FD8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FD8#FFFFFF#000000##FFFFFF
##406FD81.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#347BDC
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #406fd8;
/* rgb */ color: rgb(64, 111, 216);
/* oklch */ color: oklch(56.5% 0.169 263.7);
Tailwind
colors: {
  custom: {
    50: '#8797e5',
    500: '#406fd8',
    950: '#000000',
  },
}
SCSS
$custom: #406fd8;
$custom-light: #8797e5;
$custom-dark: #000000;
JSON
{
  "hex": "#406fd8",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 216
  },
  "hsl": {
    "h": 221.447,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.16929,
    "h": 263.7
  },
  "luminance": 0.17417
}

Semantic roles & 50–950 ramp

primary
#406FD8
secondary
#DAC69A
accent
#B43FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #406FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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