Skip to content

#252eee

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

RGB
37, 46, 238
HSL
237°, 86%, 54%
CMYK
85, 81, 0, 7
Luminance
0.0852

Every format

HEX#252eee
RGBrgb(37, 46, 238)
HSLhsl(237, 86%, 54%)
CMYKcmyk(85%, 81%, 0%, 7%)
LABlab(35.0 62.6 -93.7)
LCHlch(35.0 112.7 303.8)
OKLCHoklch(0.467 0.272 268.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#252eee on white: 7.77:1
AA ✓ pass · AA-large · AAA
Aa
#252eee on black: 2.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red14.5%
Green18.0%
Blue93.3%

CMYK percentages

Cyan84.5%
Magenta80.7%
Yellow0.0%
Key (black)6.7%

Color previews

#252eee text on a black background

contrast 2.70:1

Card sample

#252eee text on a white background

contrast 7.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #252eee;
Background color
Panel with #252eee background
background-color: #252eee;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #252eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #252eee in the Color Lab