Skip to content

#2f65af

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

RGB
47, 101, 175
HSL
215°, 58%, 44%
CMYK
73, 42, 0, 31
Luminance
0.1301

Every format

HEX#2f65af
RGBrgb(47, 101, 175)
HSLhsl(215, 58%, 44%)
CMYKcmyk(73%, 42%, 0%, 31%)
LABlab(42.8 7.9 -44.7)
LCHlch(42.8 45.4 280.1)
OKLCHoklch(0.509 0.131 257.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f65af on white: 5.83:1
AA ✓ pass · AA-large · AAA
Aa
#2f65af on black: 3.60:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green39.6%
Blue68.6%

CMYK percentages

Cyan73.1%
Magenta42.3%
Yellow0.0%
Key (black)31.4%

Color previews

#2f65af text on a black background

contrast 3.60:1

Card sample

#2f65af text on a white background

contrast 5.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f65af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f65af in the Color Lab