Skip to content

#4b2cfb

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

RGB
75, 44, 251
HSL
249°, 96%, 58%
CMYK
70, 83, 0, 2
Luminance
0.1026

Every format

HEX#4b2cfb
RGBrgb(75, 44, 251)
HSLhsl(249, 96%, 58%)
CMYKcmyk(70%, 83%, 0%, 2%)
LABlab(38.3 69.2 -95.5)
LCHlch(38.3 118.0 305.9)
OKLCHoklch(0.499 0.278 276.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4b2cfb on white: 6.88:1
AA ✓ pass · AA-large · AAA
Aa
#4b2cfb on black: 3.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.4%
Green17.3%
Blue98.4%

CMYK percentages

Cyan70.1%
Magenta82.5%
Yellow0.0%
Key (black)1.6%

Color previews

#4b2cfb text on a black background

contrast 3.05:1

Card sample

#4b2cfb text on a white background

contrast 6.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(75, 44, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 44, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4b2cfb;
background: linear-gradient(135deg, #4b2cfb, #D52CFB);

Monochromatic scale

Palettes built from #4b2cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4b2cfb in the Color Lab