#360dfb
a balanced, electric blue · warm · closest name: blue
RGB
54, 13, 251
HSL
250°, 97%, 52%
CMYK
79, 95, 0, 2
Luminance
0.0804
Every format
| HEX | #360dfb |
| RGB | rgb(54, 13, 251) |
| HSL | hsl(250, 97%, 52%) |
| CMYK | cmyk(79%, 95%, 0%, 2%) |
| LAB | lab(34.1 77.0 -102.6) |
| LCH | lch(34.1 128.3 306.9) |
| OKLCH | oklch(0.467 0.296 271.5) |
Copy-ready code
/* CSS */
color: #360dfb;
background-color: #360dfb;
/* Tailwind (arbitrary) */
class="text-[#360dfb] bg-[#360dfb]"
/* SCSS */
$brand: #360dfb;
/* SwiftUI */
Color(red: 0.212, green: 0.051, blue: 0.984)
/* Android */
Color.parseColor("#360dfb")Accessibility — WCAG contrast
Aa
#360dfb on white: 8.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#360dfb on black: 2.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green5.1%
Blue98.4%
CMYK percentages
Cyan78.5%
Magenta94.8%
Yellow0.0%
Key (black)1.6%
Color previews
#360dfb text on a black background
contrast 2.61:1
Card sample
#360dfb text on a white background
contrast 8.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #360dfb;
Background color
Panel with #360dfb background
background-color: #360dfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #360dfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 13, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 13, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #360dfb; background: linear-gradient(135deg, #360dfb, #D50DFB);