Skip to content

#2e2ccf

a balanced, vivid blue · warm · closest name: navy

RGB
46, 44, 207
HSL
241°, 65%, 49%
CMYK
78, 79, 0, 19
Luminance
0.0689

Every format

HEX#2e2ccf
RGBrgb(46, 44, 207)
HSLhsl(241, 65%, 49%)
CMYKcmyk(78%, 79%, 0%, 19%)
LABlab(31.6 54.5 -81.7)
LCHlch(31.6 98.2 303.7)
OKLCHoklch(0.433 0.236 271.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2e2ccf on white: 8.83:1
AA ✓ pass · AA-large · AAA
Aa
#2e2ccf on black: 2.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green17.3%
Blue81.2%

CMYK percentages

Cyan77.8%
Magenta78.7%
Yellow0.0%
Key (black)18.8%

Color previews

#2e2ccf text on a black background

contrast 2.38:1

Card sample

#2e2ccf text on a white background

contrast 8.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 44, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 44, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2e2ccf;
background: linear-gradient(135deg, #2e2ccf, #9B2CCF);

Monochromatic scale

Palettes built from #2e2ccf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2e2ccf in the Color Lab