Skip to content

#4f64cf

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

RGB
79, 100, 207
HSL
230°, 57%, 56%
CMYK
62, 52, 0, 19
Luminance
0.1528

Every format

HEX#4f64cf
RGBrgb(79, 100, 207)
HSLhsl(230, 57%, 56%)
CMYKcmyk(62%, 52%, 0%, 19%)
LABlab(46.0 25.3 -57.9)
LCHlch(46.0 63.2 293.6)
OKLCHoklch(0.544 0.166 271.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f64cf on white: 5.18:1
AA ✓ pass · AA-large · AAA
Aa
#4f64cf on black: 4.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green39.2%
Blue81.2%

CMYK percentages

Cyan61.8%
Magenta51.7%
Yellow0.0%
Key (black)18.8%

Color previews

#4f64cf text on a black background

contrast 4.06:1

Card sample

#4f64cf text on a white background

contrast 5.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f64cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f64cf in the Color Lab