Skip to content

#3364df

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

RGB
51, 100, 223
HSL
223°, 73%, 54%
CMYK
77, 55, 0, 13
Luminance
0.1515

Every format

HEX#3364df
RGBrgb(51, 100, 223)
HSLhsl(223, 73%, 54%)
CMYKcmyk(77%, 55%, 0%, 13%)
LABlab(45.8 27.1 -67.4)
LCHlch(45.8 72.6 291.9)
OKLCHoklch(0.543 0.195 264.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3364df on white: 5.21:1
AA ✓ pass · AA-large · AAA
Aa
#3364df on black: 4.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.0%
Green39.2%
Blue87.5%

CMYK percentages

Cyan77.1%
Magenta55.2%
Yellow0.0%
Key (black)12.5%

Color previews

#3364df text on a black background

contrast 4.03:1

Card sample

#3364df text on a white background

contrast 5.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3364df;
Background color
Panel with #3364df background
background-color: #3364df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3364df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(51, 100, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 100, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3364df;
background: linear-gradient(135deg, #3364df, #7533DF);

Monochromatic scale

Palettes built from #3364df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3364df in the Color Lab