Skip to content

#2f60af

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

RGB
47, 96, 175
HSL
217°, 58%, 44%
CMYK
73, 45, 0, 31
Luminance
0.1207

Every format

HEX#2f60af
RGBrgb(47, 96, 175)
HSLhsl(217, 58%, 44%)
CMYKcmyk(73%, 45%, 0%, 31%)
LABlab(41.3 11.2 -47.0)
LCHlch(41.3 48.3 283.4)
OKLCHoklch(0.498 0.137 259.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f60af on white: 6.15:1
AA ✓ pass · AA-large · AAA
Aa
#2f60af on black: 3.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green37.6%
Blue68.6%

CMYK percentages

Cyan73.1%
Magenta45.1%
Yellow0.0%
Key (black)31.4%

Color previews

#2f60af text on a black background

contrast 3.41:1

Card sample

#2f60af text on a white background

contrast 6.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 96, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 96, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f60af;
background: linear-gradient(135deg, #2f60af, #532FAF);

Monochromatic scale

Palettes built from #2f60af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f60af in the Color Lab