Skip to content

#2c64ff

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

RGB
44, 100, 255
HSL
224°, 100%, 59%
CMYK
83, 61, 0, 0
Luminance
0.1687

Every format

HEX#2c64ff
RGBrgb(44, 100, 255)
HSLhsl(224, 100%, 59%)
CMYKcmyk(83%, 61%, 0%, 0%)
LABlab(48.1 38.2 -81.7)
LCHlch(48.1 90.2 295.1)
OKLCHoklch(0.567 0.237 264.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c64ff on white: 4.80:1
AA ✓ pass · AA-large · AAA
Aa
#2c64ff on black: 4.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green39.2%
Blue100.0%

CMYK percentages

Cyan82.7%
Magenta60.8%
Yellow0.0%
Key (black)0.0%

Color previews

#2c64ff text on a black background

contrast 4.37:1

Card sample

#2c64ff text on a white background

contrast 4.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2c64ff;
Background color
Panel with #2c64ff background
background-color: #2c64ff;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 100, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 100, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c64ff;
background: linear-gradient(135deg, #2c64ff, #812CFF);

Monochromatic scale

Palettes built from #2c64ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2c64ff in the Color Lab