Skip to content

#343dfd

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

RGB
52, 61, 253
HSL
237°, 98%, 60%
CMYK
79, 76, 0, 1
Luminance
0.1116

Every format

HEX#343dfd
RGBrgb(52, 61, 253)
HSLhsl(237, 98%, 60%)
CMYKcmyk(79%, 76%, 0%, 1%)
LABlab(39.8 60.6 -94.1)
LCHlch(39.8 112.0 302.8)
OKLCHoklch(0.507 0.273 269.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#343dfd on white: 6.50:1
AA ✓ pass · AA-large · AAA
Aa
#343dfd on black: 3.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.4%
Green23.9%
Blue99.2%

CMYK percentages

Cyan79.4%
Magenta75.9%
Yellow0.0%
Key (black)0.8%

Color previews

#343dfd text on a black background

contrast 3.23:1

Card sample

#343dfd text on a white background

contrast 6.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #343dfd;
Background color
Panel with #343dfd background
background-color: #343dfd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(52, 61, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(52, 61, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #343dfd;
background: linear-gradient(135deg, #343dfd, #B134FD);

Monochromatic scale

Palettes built from #343dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #343dfd in the Color Lab