Skip to content

#2f2bdc

a balanced, vivid blue · warm · closest name: blue

RGB
47, 43, 220
HSL
241°, 72%, 52%
CMYK
79, 81, 0, 14
Luminance
0.0750

Every format

HEX#2f2bdc
RGBrgb(47, 43, 220)
HSLhsl(241, 72%, 52%)
CMYKcmyk(79%, 81%, 0%, 14%)
LABlab(32.9 59.1 -86.9)
LCHlch(32.9 105.1 304.2)
OKLCHoklch(0.448 0.252 270.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f2bdc on white: 8.40:1
AA ✓ pass · AA-large · AAA
Aa
#2f2bdc on black: 2.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green16.9%
Blue86.3%

CMYK percentages

Cyan78.6%
Magenta80.5%
Yellow0.0%
Key (black)13.7%

Color previews

#2f2bdc text on a black background

contrast 2.50:1

Card sample

#2f2bdc text on a white background

contrast 8.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f2bdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f2bdc in the Color Lab