Skip to content

#4064af

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

RGB
64, 100, 175
HSL
221°, 46%, 47%
CMYK
63, 43, 0, 31
Luminance
0.1330

Every format

HEX#4064af
RGBrgb(64, 100, 175)
HSLhsl(221, 46%, 47%)
CMYKcmyk(63%, 43%, 0%, 31%)
LABlab(43.2 11.4 -43.9)
LCHlch(43.2 45.4 284.5)
OKLCHoklch(0.514 0.126 263.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4064af on white: 5.74:1
AA ✓ pass · AA-large · AAA
Aa
#4064af on black: 3.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green39.2%
Blue68.6%

CMYK percentages

Cyan63.4%
Magenta42.9%
Yellow0.0%
Key (black)31.4%

Color previews

#4064af text on a black background

contrast 3.66:1

Card sample

#4064af text on a white background

contrast 5.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4064af;
Background color
Panel with #4064af background
background-color: #4064af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4064af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(64, 100, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 100, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4064af;
background: linear-gradient(135deg, #4064af, #6640AF);

Monochromatic scale

Palettes built from #4064af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4064af in the Color Lab