Skip to content

#2f3bfc

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

RGB
47, 59, 252
HSL
237°, 97%, 59%
CMYK
81, 77, 0, 1
Luminance
0.1076

Every format

HEX#2f3bfc
RGBrgb(47, 59, 252)
HSLhsl(237, 97%, 59%)
CMYKcmyk(81%, 77%, 0%, 1%)
LABlab(39.2 61.1 -94.7)
LCHlch(39.2 112.7 302.8)
OKLCHoklch(0.502 0.274 268.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f3bfc on white: 6.66:1
AA ✓ pass · AA-large · AAA
Aa
#2f3bfc on black: 3.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green23.1%
Blue98.8%

CMYK percentages

Cyan81.3%
Magenta76.6%
Yellow0.0%
Key (black)1.2%

Color previews

#2f3bfc text on a black background

contrast 3.15:1

Card sample

#2f3bfc text on a white background

contrast 6.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 59, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 59, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f3bfc;
background: linear-gradient(135deg, #2f3bfc, #AC2FFC);

Monochromatic scale

Palettes built from #2f3bfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f3bfc in the Color Lab