Skip to content

#3c5fdf

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

RGB
60, 95, 223
HSL
227°, 72%, 56%
CMYK
73, 57, 0, 13
Luminance
0.1447

Every format

HEX#3c5fdf
RGBrgb(60, 95, 223)
HSLhsl(227, 72%, 56%)
CMYKcmyk(73%, 57%, 0%, 13%)
LABlab(44.9 31.2 -68.9)
LCHlch(44.9 75.7 294.4)
OKLCHoklch(0.537 0.199 267.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3c5fdf on white: 5.39:1
AA ✓ pass · AA-large · AAA
Aa
#3c5fdf on black: 3.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.5%
Green37.3%
Blue87.5%

CMYK percentages

Cyan73.1%
Magenta57.4%
Yellow0.0%
Key (black)12.5%

Color previews

#3c5fdf text on a black background

contrast 3.89:1

Card sample

#3c5fdf text on a white background

contrast 5.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3c5fdf;
Background color
Panel with #3c5fdf background
background-color: #3c5fdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3c5fdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(60, 95, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(60, 95, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3c5fdf;
background: linear-gradient(135deg, #3c5fdf, #863CDF);

Monochromatic scale

Palettes built from #3c5fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3c5fdf in the Color Lab