#406FD1#406FD1

#406FD1 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.0% C 0.160 H 263.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#406FD1
RGBrgb(64, 111, 209)
HSLhsl(221, 61%, 54%)
HSVhsv(221, 69%, 82%)
CMYKcmyk(69.4%, 46.9%, 0%, 18%)
CIE-LABlab(48.34, 16.59, -55.37)
CIE-LCHlch(48.34, 57.80, 286.68°)
OKLaboklab(56.02% -0.0195 -0.1587)
OKLCHoklch(56.02% 0.16 263)
XYZxyz(19.3033, 17.0603, 62.5849)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FD1 #D1A240
analogous
#40B7D1 #406FD1 #5940D1
triadic
#406FD1 #D1406F #6FD140
tetradic
#406FD1 #D140B7 #D1A240 #40D159
square
#406FD1 #D140B7 #D1A240 #40D159
split-complementary
#406FD1 #D15940 #B7D140
monochromatic
#1D3B79 #2953AB #406FD1 #7194DD #A3B9E9

Accessibility & contrast

On white

4.76
#406FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#406FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FD1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FD1#FFFFFF#000000##FFFFFF
##406FD11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C7AD5
Deuteranopia (green-blind)
#1A6DCF
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #406fd1;
/* rgb */ color: rgb(64, 111, 209);
/* oklch */ color: oklch(56.0% 0.160 263.0);
Tailwind
colors: {
  custom: {
    50: '#8597e0',
    500: '#406fd1',
    950: '#000000',
  },
}
SCSS
$custom: #406fd1;
$custom-light: #8597e0;
$custom-dark: #000000;
JSON
{
  "hex": "#406fd1",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 209
  },
  "hsl": {
    "h": 220.552,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56021,
    "c": 0.15985,
    "h": 263
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#406FD1
secondary
#D5C197
accent
#B044E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #406FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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