#360cfd
a balanced, electric blue · warm · closest name: blue
RGB
54, 12, 253
HSL
251°, 98%, 52%
CMYK
79, 95, 0, 1
Luminance
0.0814
Every format
| HEX | #360cfd |
| RGB | rgb(54, 12, 253) |
| HSL | hsl(251, 98%, 52%) |
| CMYK | cmyk(79%, 95%, 0%, 1%) |
| LAB | lab(34.3 77.6 -103.4) |
| LCH | lch(34.3 129.3 306.9) |
| OKLCH | oklch(0.469 0.299 271.4) |
Copy-ready code
/* CSS */
color: #360cfd;
background-color: #360cfd;
/* Tailwind (arbitrary) */
class="text-[#360cfd] bg-[#360cfd]"
/* SCSS */
$brand: #360cfd;
/* SwiftUI */
Color(red: 0.212, green: 0.047, blue: 0.992)
/* Android */
Color.parseColor("#360cfd")Accessibility — WCAG contrast
Aa
#360cfd on white: 7.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#360cfd on black: 2.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green4.7%
Blue99.2%
CMYK percentages
Cyan78.7%
Magenta95.3%
Yellow0.0%
Key (black)0.8%
Color previews
#360cfd text on a black background
contrast 2.63:1
Card sample
#360cfd text on a white background
contrast 7.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #360cfd;
Background color
Panel with #360cfd background
background-color: #360cfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #360cfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 12, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 12, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #360cfd; background: linear-gradient(135deg, #360cfd, #D70CFD);