#2918be
a dark, electric blue · warm · closest name: navy
RGB
41, 24, 190
HSL
246°, 78%, 42%
CMYK
78, 87, 0, 26
Luminance
0.0484
Every format
| HEX | #2918be |
| RGB | rgb(41, 24, 190) |
| HSL | hsl(246, 78%, 42%) |
| CMYK | cmyk(78%, 87%, 0%, 26%) |
| LAB | lab(26.3 57.9 -80.5) |
| LCH | lch(26.3 99.1 305.8) |
| OKLCH | oklch(0.391 0.233 272.0) |
Copy-ready code
/* CSS */
color: #2918be;
background-color: #2918be;
/* Tailwind (arbitrary) */
class="text-[#2918be] bg-[#2918be]"
/* SCSS */
$brand: #2918be;
/* SwiftUI */
Color(red: 0.161, green: 0.094, blue: 0.745)
/* Android */
Color.parseColor("#2918be")Accessibility — WCAG contrast
Aa
#2918be on white: 10.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2918be on black: 1.97:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.1%
Green9.4%
Blue74.5%
CMYK percentages
Cyan78.4%
Magenta87.4%
Yellow0.0%
Key (black)25.5%
Color previews
#2918be text on a black background
contrast 1.97:1
Card sample
#2918be text on a white background
contrast 10.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2918be;
Background color
Panel with #2918be background
background-color: #2918be;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2918be;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(41, 24, 190, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 24, 190, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2918be; background: linear-gradient(135deg, #2918be, #9818BE);