Skip to content

#293cec

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

RGB
41, 60, 236
HSL
234°, 84%, 54%
CMYK
83, 75, 0, 8
Luminance
0.0976

Every format

HEX#293cec
RGBrgb(41, 60, 236)
HSLhsl(234, 84%, 54%)
CMYKcmyk(83%, 75%, 0%, 8%)
LABlab(37.4 55.2 -88.6)
LCHlch(37.4 104.4 301.9)
OKLCHoklch(0.483 0.257 268.1)

Copy-ready code

/* CSS */
color: #293cec;
background-color: #293cec;
/* Tailwind (arbitrary) */
class="text-[#293cec] bg-[#293cec]"
/* SCSS */
$brand: #293cec;
/* SwiftUI */
Color(red: 0.161, green: 0.235, blue: 0.925)
/* Android */
Color.parseColor("#293cec")

Accessibility — WCAG contrast

Aa
#293cec on white: 7.11:1
AA ✓ pass · AA-large · AAA
Aa
#293cec on black: 2.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.1%
Green23.5%
Blue92.5%

CMYK percentages

Cyan82.6%
Magenta74.6%
Yellow0.0%
Key (black)7.5%

Color previews

#293cec text on a black background

contrast 2.95:1

Card sample

#293cec text on a white background

contrast 7.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #293cec;
Background color
Panel with #293cec background
background-color: #293cec;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(41, 60, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 60, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #293cec;
background: linear-gradient(135deg, #293cec, #9829EC);

Monochromatic scale

Palettes built from #293cec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #293cec in the Color Lab