Skip to content

#2f75ac

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

RGB
47, 117, 172
HSL
206°, 57%, 43%
CMYK
73, 32, 0, 33
Luminance
0.1631

Every format

HEX#2f75ac
RGBrgb(47, 117, 172)
HSLhsl(206, 57%, 43%)
CMYKcmyk(73%, 32%, 0%, 33%)
LABlab(47.4 -3.1 -35.6)
LCHlch(47.4 35.7 265.1)
OKLCHoklch(0.544 0.111 245.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f75ac on white: 4.93:1
AA ✓ pass · AA-large · AAA
Aa
#2f75ac on black: 4.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green45.9%
Blue67.5%

CMYK percentages

Cyan72.7%
Magenta32.0%
Yellow0.0%
Key (black)32.5%

Color previews

#2f75ac text on a black background

contrast 4.26:1

Card sample

#2f75ac text on a white background

contrast 4.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 117, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 117, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f75ac;
background: linear-gradient(135deg, #2f75ac, #3C2FAC);

Monochromatic scale

Palettes built from #2f75ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f75ac in the Color Lab