Skip to content

#343df4

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

RGB
52, 61, 244
HSL
237°, 90%, 58%
CMYK
79, 75, 0, 4
Luminance
0.1060

Every format

HEX#343df4
RGBrgb(52, 61, 244)
HSLhsl(237, 90%, 58%)
CMYKcmyk(79%, 75%, 0%, 4%)
LABlab(38.9 57.8 -90.7)
LCHlch(38.9 107.5 302.5)
OKLCHoklch(0.498 0.263 269.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#343df4 on white: 6.73:1
AA ✓ pass · AA-large · AAA
Aa
#343df4 on black: 3.12:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.4%
Green23.9%
Blue95.7%

CMYK percentages

Cyan78.7%
Magenta75.0%
Yellow0.0%
Key (black)4.3%

Color previews

#343df4 text on a black background

contrast 3.12:1

Card sample

#343df4 text on a white background

contrast 6.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #343df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #343df4 in the Color Lab