Skip to content

#2f4cfd

a balanced, electric blue · warm · closest name: blue

RGB
47, 76, 253
HSL
232°, 98%, 59%
CMYK
81, 70, 0, 1
Luminance
0.1287

Every format

HEX#2f4cfd
RGBrgb(47, 76, 253)
HSLhsl(232, 98%, 59%)
CMYKcmyk(81%, 70%, 0%, 1%)
LABlab(42.6 52.2 -89.7)
LCHlch(42.6 103.7 300.2)
OKLCHoklch(0.526 0.260 267.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f4cfd on white: 5.88:1
AA ✓ pass · AA-large · AAA
Aa
#2f4cfd on black: 3.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green29.8%
Blue99.2%

CMYK percentages

Cyan81.4%
Magenta70.0%
Yellow0.0%
Key (black)0.8%

Color previews

#2f4cfd text on a black background

contrast 3.57:1

Card sample

#2f4cfd text on a white background

contrast 5.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 76, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 76, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f4cfd;
background: linear-gradient(135deg, #2f4cfd, #9B2FFD);

Monochromatic scale

Palettes built from #2f4cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f4cfd in the Color Lab