#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 |
| RGB | rgb(52, 61, 244) |
| HSL | hsl(237, 90%, 58%) |
| CMYK | cmyk(79%, 75%, 0%, 4%) |
| LAB | lab(38.9 57.8 -90.7) |
| LCH | lch(38.9 107.5 302.5) |
| OKLCH | oklch(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);