Skip to content

#341cff

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

RGB
52, 28, 255
HSL
246°, 100%, 56%
CMYK
80, 89, 0, 0
Luminance
0.0878

Every format

HEX#341cff
RGBrgb(52, 28, 255)
HSLhsl(246, 100%, 56%)
CMYKcmyk(80%, 89%, 0%, 0%)
LABlab(35.5 74.6 -102.4)
LCHlch(35.5 126.7 306.1)
OKLCHoklch(0.478 0.296 270.7)

Copy-ready code

/* CSS */
color: #341cff;
background-color: #341cff;
/* Tailwind (arbitrary) */
class="text-[#341cff] bg-[#341cff]"
/* SCSS */
$brand: #341cff;
/* SwiftUI */
Color(red: 0.204, green: 0.110, blue: 1.000)
/* Android */
Color.parseColor("#341cff")

Accessibility — WCAG contrast

Aa
#341cff on white: 7.62:1
AA ✓ pass · AA-large · AAA
Aa
#341cff on black: 2.76:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.4%
Green11.0%
Blue100.0%

CMYK percentages

Cyan79.6%
Magenta89.0%
Yellow0.0%
Key (black)0.0%

Color previews

#341cff text on a black background

contrast 2.76:1

Card sample

#341cff text on a white background

contrast 7.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #341cff;
Background color
Panel with #341cff background
background-color: #341cff;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(52, 28, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(52, 28, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #341cff;
background: linear-gradient(135deg, #341cff, #CB1CFF);

Monochromatic scale

Palettes built from #341cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #341cff in the Color Lab