Skip to content

#4f27df

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

RGB
79, 39, 223
HSL
253°, 74%, 51%
CMYK
65, 83, 0, 13
Luminance
0.0844

Every format

HEX#4f27df
RGBrgb(79, 39, 223)
HSLhsl(253, 74%, 51%)
CMYKcmyk(65%, 83%, 0%, 13%)
LABlab(34.9 63.9 -85.3)
LCHlch(34.9 106.6 306.8)
OKLCHoklch(0.468 0.251 280.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f27df on white: 7.81:1
AA ✓ pass · AA-large · AAA
Aa
#4f27df on black: 2.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green15.3%
Blue87.5%

CMYK percentages

Cyan64.6%
Magenta82.5%
Yellow0.0%
Key (black)12.5%

Color previews

#4f27df text on a black background

contrast 2.69:1

Card sample

#4f27df text on a white background

contrast 7.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f27df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f27df in the Color Lab