#370df4
a balanced, electric blue · warm · closest name: blue
RGB
55, 13, 244
HSL
251°, 91%, 50%
CMYK
78, 95, 0, 4
Luminance
0.0763
Every format
| HEX | #370df4 |
| RGB | rgb(55, 13, 244) |
| HSL | hsl(251, 91%, 50%) |
| CMYK | cmyk(78%, 95%, 0%, 4%) |
| LAB | lab(33.2 75.3 -100.1) |
| LCH | lch(33.2 125.3 306.9) |
| OKLCH | oklch(0.459 0.289 272.2) |
Copy-ready code
/* CSS */
color: #370df4;
background-color: #370df4;
/* Tailwind (arbitrary) */
class="text-[#370df4] bg-[#370df4]"
/* SCSS */
$brand: #370df4;
/* SwiftUI */
Color(red: 0.216, green: 0.051, blue: 0.957)
/* Android */
Color.parseColor("#370df4")Accessibility — WCAG contrast
Aa
#370df4 on white: 8.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#370df4 on black: 2.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.6%
Green5.1%
Blue95.7%
CMYK percentages
Cyan77.5%
Magenta94.7%
Yellow0.0%
Key (black)4.3%
Color previews
#370df4 text on a black background
contrast 2.53:1
Card sample
#370df4 text on a white background
contrast 8.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #370df4;
Background color
Panel with #370df4 background
background-color: #370df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #370df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(55, 13, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(55, 13, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #370df4; background: linear-gradient(135deg, #370df4, #D10DF4);