Skip to content

#4d5abc

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

RGB
77, 90, 188
HSL
233°, 45%, 52%
CMYK
59, 52, 0, 26
Luminance
0.1252

Every format

HEX#4d5abc
RGBrgb(77, 90, 188)
HSLhsl(233, 45%, 52%)
CMYKcmyk(59%, 52%, 0%, 26%)
LABlab(42.0 24.7 -53.4)
LCHlch(42.0 58.8 294.9)
OKLCHoklch(0.510 0.153 274.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4d5abc on white: 5.99:1
AA ✓ pass · AA-large · AAA
Aa
#4d5abc on black: 3.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green35.3%
Blue73.7%

CMYK percentages

Cyan59.0%
Magenta52.1%
Yellow0.0%
Key (black)26.3%

Color previews

#4d5abc text on a black background

contrast 3.50:1

Card sample

#4d5abc text on a white background

contrast 5.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4d5abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4d5abc in the Color Lab