#2913cd
a dark, electric blue · warm · closest name: blue
RGB
41, 19, 205
HSL
247°, 83%, 44%
CMYK
80, 91, 0, 20
Luminance
0.0534
Every format
| HEX | #2913cd |
| RGB | rgb(41, 19, 205) |
| HSL | hsl(247, 83%, 44%) |
| CMYK | cmyk(80%, 91%, 0%, 20%) |
| LAB | lab(27.7 63.6 -86.9) |
| LCH | lch(27.7 107.7 306.2) |
| OKLCH | oklch(0.406 0.251 271.0) |
Copy-ready code
/* CSS */
color: #2913cd;
background-color: #2913cd;
/* Tailwind (arbitrary) */
class="text-[#2913cd] bg-[#2913cd]"
/* SCSS */
$brand: #2913cd;
/* SwiftUI */
Color(red: 0.161, green: 0.075, blue: 0.804)
/* Android */
Color.parseColor("#2913cd")Accessibility — WCAG contrast
Aa
#2913cd on white: 10.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2913cd on black: 2.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.1%
Green7.5%
Blue80.4%
CMYK percentages
Cyan80.0%
Magenta90.7%
Yellow0.0%
Key (black)19.6%
Color previews
#2913cd text on a black background
contrast 2.07:1
Card sample
#2913cd text on a white background
contrast 10.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2913cd;
Background color
Panel with #2913cd background
background-color: #2913cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2913cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(41, 19, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 19, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2913cd; background: linear-gradient(135deg, #2913cd, #A513CD);