Skip to content

#406abf

a balanced, vivid blue · cool · closest name: dodgerblue

RGB
64, 106, 191
HSL
220°, 50%, 50%
CMYK
67, 45, 0, 25
Luminance
0.1516

Every format

HEX#406abf
RGBrgb(64, 106, 191)
HSLhsl(220, 50%, 50%)
CMYKcmyk(67%, 45%, 0%, 25%)
LABlab(45.9 13.3 -49.0)
LCHlch(45.9 50.8 285.2)
OKLCHoklch(0.538 0.141 262.8)

Copy-ready code

/* CSS */
color: #406abf;
background-color: #406abf;
/* Tailwind (arbitrary) */
class="text-[#406abf] bg-[#406abf]"
/* SCSS */
$brand: #406abf;
/* SwiftUI */
Color(red: 0.251, green: 0.416, blue: 0.749)
/* Android */
Color.parseColor("#406abf")

Accessibility — WCAG contrast

Aa
#406abf on white: 5.21:1
AA ✓ pass · AA-large · AAA
Aa
#406abf on black: 4.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green41.6%
Blue74.9%

CMYK percentages

Cyan66.5%
Magenta44.5%
Yellow0.0%
Key (black)25.1%

Color previews

#406abf text on a black background

contrast 4.03:1

Card sample

#406abf text on a white background

contrast 5.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #406abf;
Background color
Panel with #406abf background
background-color: #406abf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #406abf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(64, 106, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 106, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #406abf;
background: linear-gradient(135deg, #406abf, #6B40BF);

Monochromatic scale

Palettes built from #406abf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #406abf in the Color Lab