Skip to content

#4f25fd

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

RGB
79, 37, 253
HSL
252°, 98%, 57%
CMYK
69, 85, 0, 1
Luminance
0.1008

Every format

HEX#4f25fd
RGBrgb(79, 37, 253)
HSLhsl(252, 98%, 57%)
CMYKcmyk(69%, 85%, 0%, 1%)
LABlab(38.0 72.5 -97.2)
LCHlch(38.0 121.3 306.7)
OKLCHoklch(0.498 0.283 277.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f25fd on white: 6.96:1
AA ✓ pass · AA-large · AAA
Aa
#4f25fd on black: 3.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green14.5%
Blue99.2%

CMYK percentages

Cyan68.8%
Magenta85.4%
Yellow0.0%
Key (black)0.8%

Color previews

#4f25fd text on a black background

contrast 3.02:1

Card sample

#4f25fd text on a white background

contrast 6.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f25fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f25fd in the Color Lab