#406DDD#406DDD

#406DDD is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.4% C 0.178 H 264.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#406DDD
RGBrgb(64, 109, 221)
HSLhsl(223, 70%, 56%)
HSVhsv(223, 71%, 87%)
CMYKcmyk(71%, 50.7%, 0%, 13.3%)
CIE-LABlab(48.57, 22.17, -61.81)
CIE-LCHlch(48.57, 65.67, 289.73°)
OKLaboklab(56.45% -0.0162 -0.1776)
OKLCHoklch(56.45% 0.178 264.8)
XYZxyz(20.6295, 17.2456, 70.6341)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DDD #DDB040
analogous
#40BBDD #406DDD #6140DD
triadic
#406DDD #DD406D #6DDD40
tetradic
#406DDD #DD40BB #DDB040 #40DD61
square
#406DDD #DD40BB #DDB040 #40DD61
split-complementary
#406DDD #DD6140 #BBDD40
monochromatic
#19398A #224FBE #406DDD #7495E6 #A8BCEF

Accessibility & contrast

On white

4.72
#406DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#406DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DDD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DDD#FFFFFF#000000##FFFFFF
##406DDD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#277BE1
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #406ddd;
/* rgb */ color: rgb(64, 109, 221);
/* oklch */ color: oklch(56.4% 0.178 264.8);
Tailwind
colors: {
  custom: {
    50: '#8896e8',
    500: '#406ddd',
    950: '#000000',
  },
}
SCSS
$custom: #406ddd;
$custom-light: #8896e8;
$custom-dark: #000000;
JSON
{
  "hex": "#406ddd",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 221
  },
  "hsl": {
    "h": 222.803,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56446,
    "c": 0.17839,
    "h": 264.8
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#406DDD
secondary
#DDCA9C
accent
#BA3BED
background
#F9F9FE
surface
#F1F1FD
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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