#2915cd
a dark, electric blue · warm · closest name: blue
RGB
41, 21, 205
HSL
247°, 81%, 44%
CMYK
80, 90, 0, 20
Luminance
0.0542
Every format
| HEX | #2915cd |
| RGB | rgb(41, 21, 205) |
| HSL | hsl(247, 81%, 44%) |
| CMYK | cmyk(80%, 90%, 0%, 20%) |
| LAB | lab(27.9 63.0 -86.6) |
| LCH | lch(27.9 107.1 306.1) |
| OKLCH | oklch(0.407 0.250 271.0) |
Copy-ready code
/* CSS */
color: #2915cd;
background-color: #2915cd;
/* Tailwind (arbitrary) */
class="text-[#2915cd] bg-[#2915cd]"
/* SCSS */
$brand: #2915cd;
/* SwiftUI */
Color(red: 0.161, green: 0.082, blue: 0.804)
/* Android */
Color.parseColor("#2915cd")Accessibility — WCAG contrast
Aa
#2915cd on white: 10.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2915cd on black: 2.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.1%
Green8.2%
Blue80.4%
CMYK percentages
Cyan80.0%
Magenta89.8%
Yellow0.0%
Key (black)19.6%
Color previews
#2915cd text on a black background
contrast 2.08:1
Card sample
#2915cd text on a white background
contrast 10.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2915cd;
Background color
Panel with #2915cd background
background-color: #2915cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2915cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(41, 21, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 21, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2915cd; background: linear-gradient(135deg, #2915cd, #A415CD);