#406FDE#406FDE

#406FDE is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.177 H 264.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#406FDE
RGBrgb(64, 111, 222)
HSLhsl(222, 71%, 56%)
HSVhsv(222, 71%, 87%)
CMYKcmyk(71.2%, 50%, 0%, 12.9%)
CIE-LABlab(49.17, 21.28, -61.41)
CIE-LCHlch(49.17, 64.99, 289.11°)
OKLaboklab(56.92% -0.0178 -0.1764)
OKLCHoklch(56.92% 0.177 264.2)
XYZxyz(20.9790, 17.7306, 71.4098)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FDE #DEAF40
analogous
#40BEDE #406FDE #6040DE
triadic
#406FDE #DE406F #6FDE40
tetradic
#406FDE #DE40BE #DEAF40 #40DE60
square
#406FDE #DE40BE #DEAF40 #40DE60
split-complementary
#406FDE #DE6040 #BEDE40
monochromatic
#183A8B #2150C0 #406FDE #7496E7 #A8BEF0

Accessibility & contrast

On white

4.62
#406FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#406FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #406FDE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FDE#FFFFFF#000000##FFFFFF
##406FDE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C7DE2
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #406fde;
/* rgb */ color: rgb(64, 111, 222);
/* oklch */ color: oklch(56.9% 0.177 264.2);
Tailwind
colors: {
  custom: {
    50: '#8897e9',
    500: '#406fde',
    950: '#000000',
  },
}
SCSS
$custom: #406fde;
$custom-light: #8897e9;
$custom-dark: #000000;
JSON
{
  "hex": "#406fde",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 222
  },
  "hsl": {
    "h": 222.152,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56923,
    "c": 0.17733,
    "h": 264.2
  },
  "luminance": 0.17733
}

Semantic roles & 50–950 ramp

primary
#406FDE
secondary
#DECA9C
accent
#B83AED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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