#2918ce
a balanced, electric blue · warm · closest name: blue
RGB
41, 24, 206
HSL
246°, 79%, 45%
CMYK
80, 88, 0, 19
Luminance
0.0558
Every format
| HEX | #2918ce |
| RGB | rgb(41, 24, 206) |
| HSL | hsl(246, 79%, 45%) |
| CMYK | cmyk(80%, 88%, 0%, 19%) |
| LAB | lab(28.3 62.4 -86.5) |
| LCH | lch(28.3 106.6 305.8) |
| OKLCH | oklch(0.410 0.250 270.8) |
Copy-ready code
/* CSS */
color: #2918ce;
background-color: #2918ce;
/* Tailwind (arbitrary) */
class="text-[#2918ce] bg-[#2918ce]"
/* SCSS */
$brand: #2918ce;
/* SwiftUI */
Color(red: 0.161, green: 0.094, blue: 0.808)
/* Android */
Color.parseColor("#2918ce")Accessibility — WCAG contrast
Aa
#2918ce on white: 9.92:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2918ce on black: 2.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.1%
Green9.4%
Blue80.8%
CMYK percentages
Cyan80.1%
Magenta88.3%
Yellow0.0%
Key (black)19.2%
Color previews
#2918ce text on a black background
contrast 2.12:1
Card sample
#2918ce text on a white background
contrast 9.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2918ce;
Background color
Panel with #2918ce background
background-color: #2918ce;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2918ce;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(41, 24, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 24, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2918ce; background: linear-gradient(135deg, #2918ce, #A218CE);