Skip to content

#2f3eef

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

RGB
47, 62, 239
HSL
235°, 86%, 56%
CMYK
80, 74, 0, 6
Luminance
0.1028

Every format

HEX#2f3eef
RGBrgb(47, 62, 239)
HSLhsl(235, 86%, 56%)
CMYKcmyk(80%, 74%, 0%, 6%)
LABlab(38.3 55.4 -88.8)
LCHlch(38.3 104.6 302.0)
OKLCHoklch(0.492 0.257 269.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f3eef on white: 6.87:1
AA ✓ pass · AA-large · AAA
Aa
#2f3eef on black: 3.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green24.3%
Blue93.7%

CMYK percentages

Cyan80.3%
Magenta74.1%
Yellow0.0%
Key (black)6.3%

Color previews

#2f3eef text on a black background

contrast 3.06:1

Card sample

#2f3eef text on a white background

contrast 6.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f3eef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f3eef in the Color Lab