Skip to content

#2f3eee

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

RGB
47, 62, 238
HSL
235°, 85%, 56%
CMYK
80, 74, 0, 7
Luminance
0.1022

Every format

HEX#2f3eee
RGBrgb(47, 62, 238)
HSLhsl(235, 85%, 56%)
CMYKcmyk(80%, 74%, 0%, 7%)
LABlab(38.2 55.1 -88.4)
LCHlch(38.2 104.1 301.9)
OKLCHoklch(0.491 0.256 269.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f3eee on white: 6.90:1
AA ✓ pass · AA-large · AAA
Aa
#2f3eee on black: 3.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan80.3%
Magenta73.9%
Yellow0.0%
Key (black)6.7%

Color previews

#2f3eee text on a black background

contrast 3.04:1

Card sample

#2f3eee text on a white background

contrast 6.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f3eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f3eee in the Color Lab