Skip to content

#2f2eee

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

RGB
47, 46, 238
HSL
240°, 85%, 56%
CMYK
80, 81, 0, 7
Luminance
0.0873

Every format

HEX#2f2eee
RGBrgb(47, 46, 238)
HSLhsl(240, 85%, 56%)
CMYKcmyk(80%, 81%, 0%, 7%)
LABlab(35.5 63.1 -93.0)
LCHlch(35.5 112.3 304.1)
OKLCHoklch(0.471 0.269 269.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f2eee on white: 7.65:1
AA ✓ pass · AA-large · AAA
Aa
#2f2eee on black: 2.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green18.0%
Blue93.3%

CMYK percentages

Cyan80.3%
Magenta80.7%
Yellow0.0%
Key (black)6.7%

Color previews

#2f2eee text on a black background

contrast 2.75:1

Card sample

#2f2eee text on a white background

contrast 7.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f2eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f2eee in the Color Lab