Skip to content

#3f5abc

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

RGB
63, 90, 188
HSL
227°, 50%, 49%
CMYK
67, 52, 0, 26
Luminance
0.1200

Every format

HEX#3f5abc
RGBrgb(63, 90, 188)
HSLhsl(227, 50%, 49%)
CMYKcmyk(67%, 52%, 0%, 26%)
LABlab(41.2 22.3 -54.7)
LCHlch(41.2 59.1 292.1)
OKLCHoklch(0.501 0.157 268.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f5abc on white: 6.18:1
AA ✓ pass · AA-large · AAA
Aa
#3f5abc on black: 3.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green35.3%
Blue73.7%

CMYK percentages

Cyan66.5%
Magenta52.1%
Yellow0.0%
Key (black)26.3%

Color previews

#3f5abc text on a black background

contrast 3.40:1

Card sample

#3f5abc text on a white background

contrast 6.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f5abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f5abc in the Color Lab