Skip to content

#2f63ad

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

RGB
47, 99, 173
HSL
215°, 57%, 43%
CMYK
73, 43, 0, 32
Luminance
0.1255

Every format

HEX#2f63ad
RGBrgb(47, 99, 173)
HSLhsl(215, 57%, 43%)
CMYKcmyk(73%, 43%, 0%, 32%)
LABlab(42.1 8.5 -44.6)
LCHlch(42.1 45.4 280.8)
OKLCHoklch(0.503 0.131 257.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f63ad on white: 5.98:1
AA ✓ pass · AA-large · AAA
Aa
#2f63ad on black: 3.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green38.8%
Blue67.8%

CMYK percentages

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

Color previews

#2f63ad text on a black background

contrast 3.51:1

Card sample

#2f63ad text on a white background

contrast 5.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f63ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f63ad in the Color Lab