Skip to content

#2f65ce

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

RGB
47, 101, 206
HSL
220°, 63%, 50%
CMYK
77, 51, 0, 19
Luminance
0.1437

Every format

HEX#2f65ce
RGBrgb(47, 101, 206)
HSLhsl(220, 63%, 50%)
CMYKcmyk(77%, 51%, 0%, 19%)
LABlab(44.8 19.6 -59.5)
LCHlch(44.8 62.6 288.3)
OKLCHoklch(0.530 0.173 261.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f65ce on white: 5.42:1
AA ✓ pass · AA-large · AAA
Aa
#2f65ce on black: 3.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green39.6%
Blue80.8%

CMYK percentages

Cyan77.2%
Magenta51.0%
Yellow0.0%
Key (black)19.2%

Color previews

#2f65ce text on a black background

contrast 3.87:1

Card sample

#2f65ce text on a white background

contrast 5.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 101, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 101, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f65ce;
background: linear-gradient(135deg, #2f65ce, #632FCE);

Monochromatic scale

Palettes built from #2f65ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f65ce in the Color Lab