Skip to content

#4d58df

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

RGB
77, 88, 223
HSL
236°, 70%, 59%
CMYK
66, 61, 0, 13
Luminance
0.1388

Every format

HEX#4d58df
RGBrgb(77, 88, 223)
HSLhsl(236, 70%, 59%)
CMYKcmyk(66%, 61%, 0%, 13%)
LABlab(44.1 37.8 -70.2)
LCHlch(44.1 79.8 298.3)
OKLCHoklch(0.533 0.203 273.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4d58df on white: 5.56:1
AA ✓ pass · AA-large · AAA
Aa
#4d58df on black: 3.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green34.5%
Blue87.5%

CMYK percentages

Cyan65.5%
Magenta60.5%
Yellow0.0%
Key (black)12.5%

Color previews

#4d58df text on a black background

contrast 3.78:1

Card sample

#4d58df text on a white background

contrast 5.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4d58df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4d58df in the Color Lab