Skip to content

#4f2bbc

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

RGB
79, 43, 188
HSL
255°, 63%, 45%
CMYK
58, 77, 0, 26
Luminance
0.0702

Every format

HEX#4f2bbc
RGBrgb(79, 43, 188)
HSLhsl(255, 63%, 45%)
CMYKcmyk(58%, 77%, 0%, 26%)
LABlab(31.9 52.4 -70.0)
LCHlch(31.9 87.4 306.8)
OKLCHoklch(0.436 0.209 285.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f2bbc on white: 8.73:1
AA ✓ pass · AA-large · AAA
Aa
#4f2bbc on black: 2.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green16.9%
Blue73.7%

CMYK percentages

Cyan58.0%
Magenta77.1%
Yellow0.0%
Key (black)26.3%

Color previews

#4f2bbc text on a black background

contrast 2.40:1

Card sample

#4f2bbc text on a white background

contrast 8.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4f2bbc;
Background color
Panel with #4f2bbc background
background-color: #4f2bbc;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 43, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 43, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f2bbc;
background: linear-gradient(135deg, #4f2bbc, #B02BBC);

Monochromatic scale

Palettes built from #4f2bbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f2bbc in the Color Lab