#360ea3
a dark, electric violet · warm · closest name: navy
RGB
54, 14, 163
HSL
256°, 84%, 35%
CMYK
67, 91, 0, 36
Luminance
0.0374
Every format
| HEX | #360ea3 |
| RGB | rgb(54, 14, 163) |
| HSL | hsl(256, 84%, 35%) |
| CMYK | cmyk(67%, 91%, 0%, 36%) |
| LAB | lab(22.8 54.5 -70.0) |
| LCH | lch(22.8 88.7 307.9) |
| OKLCH | oklch(0.360 0.205 280.7) |
Copy-ready code
/* CSS */
color: #360ea3;
background-color: #360ea3;
/* Tailwind (arbitrary) */
class="text-[#360ea3] bg-[#360ea3]"
/* SCSS */
$brand: #360ea3;
/* SwiftUI */
Color(red: 0.212, green: 0.055, blue: 0.639)
/* Android */
Color.parseColor("#360ea3")Accessibility — WCAG contrast
Aa
#360ea3 on white: 12.01:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#360ea3 on black: 1.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green5.5%
Blue63.9%
CMYK percentages
Cyan66.9%
Magenta91.4%
Yellow0.0%
Key (black)36.1%
Color previews
#360ea3 text on a black background
contrast 1.75:1
Card sample
#360ea3 text on a white background
contrast 12.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #360ea3;
Background color
Panel with #360ea3 background
background-color: #360ea3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #360ea3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 14, 163, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 14, 163, 0.45);
Border & gradient
Gradient panel
border: 3px solid #360ea3; background: linear-gradient(135deg, #360ea3, #990EA3);