Skip to content

#2f64ad

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

RGB
47, 100, 173
HSL
215°, 57%, 43%
CMYK
73, 42, 0, 32
Luminance
0.1274

Every format

HEX#2f64ad
RGBrgb(47, 100, 173)
HSLhsl(215, 57%, 43%)
CMYKcmyk(73%, 42%, 0%, 32%)
LABlab(42.4 7.8 -44.1)
LCHlch(42.4 44.8 280.1)
OKLCHoklch(0.505 0.129 257.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f64ad on white: 5.92:1
AA ✓ pass · AA-large · AAA
Aa
#2f64ad on black: 3.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green39.2%
Blue67.8%

CMYK percentages

Cyan72.8%
Magenta42.2%
Yellow0.0%
Key (black)32.2%

Color previews

#2f64ad text on a black background

contrast 3.55:1

Card sample

#2f64ad text on a white background

contrast 5.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2f64ad;
Background color
Panel with #2f64ad background
background-color: #2f64ad;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 100, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 100, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f64ad;
background: linear-gradient(135deg, #2f64ad, #4E2FAD);

Monochromatic scale

Palettes built from #2f64ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f64ad in the Color Lab