#406FDC#406FDC

#406FDC is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.8% C 0.175 H 264.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#406FDC
RGBrgb(64, 111, 220)
HSLhsl(222, 69%, 56%)
HSVhsv(222, 71%, 86%)
CMYKcmyk(70.9%, 49.5%, 0%, 13.7%)
CIE-LABlab(49.04, 20.55, -60.49)
CIE-LCHlch(49.04, 63.88, 288.77°)
OKLaboklab(56.78% -0.018 -0.1737)
OKLCHoklch(56.78% 0.175 264.1)
XYZxyz(20.7125, 17.6240, 70.0065)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FDC #DCAD40
analogous
#40BDDC #406FDC #5F40DC
triadic
#406FDC #DC406F #6FDC40
tetradic
#406FDC #DC40BD #DCAD40 #40DC5F
square
#406FDC #DC40BD #DCAD40 #40DC5F
split-complementary
#406FDC #DC5F40 #BDDC40
monochromatic
#193B89 #2351BC #406FDC #7496E5 #A7BDEF

Accessibility & contrast

On white

4.64
#406FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#406FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #406FDC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FDC#FFFFFF#000000##FFFFFF
##406FDC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #406fdc;
/* rgb */ color: rgb(64, 111, 220);
/* oklch */ color: oklch(56.8% 0.175 264.1);
Tailwind
colors: {
  custom: {
    50: '#8797e7',
    500: '#406fdc',
    950: '#000000',
  },
}
SCSS
$custom: #406fdc;
$custom-light: #8797e7;
$custom-dark: #000000;
JSON
{
  "hex": "#406fdc",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 220
  },
  "hsl": {
    "h": 221.923,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56782,
    "c": 0.17466,
    "h": 264.1
  },
  "luminance": 0.17626
}

Semantic roles & 50–950 ramp

primary
#406FDC
secondary
#DCC99B
accent
#B73CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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