#290dfb
a balanced, electric blue · warm · closest name: blue
RGB
41, 13, 251
HSL
247°, 97%, 52%
CMYK
84, 95, 0, 2
Luminance
0.0772
Every format
| HEX | #290dfb |
| RGB | rgb(41, 13, 251) |
| HSL | hsl(247, 97%, 52%) |
| CMYK | cmyk(84%, 95%, 0%, 2%) |
| LAB | lab(33.4 76.7 -103.8) |
| LCH | lch(33.4 129.0 306.5) |
| OKLCH | oklch(0.461 0.300 268.7) |
Copy-ready code
/* CSS */
color: #290dfb;
background-color: #290dfb;
/* Tailwind (arbitrary) */
class="text-[#290dfb] bg-[#290dfb]"
/* SCSS */
$brand: #290dfb;
/* SwiftUI */
Color(red: 0.161, green: 0.051, blue: 0.984)
/* Android */
Color.parseColor("#290dfb")Accessibility — WCAG contrast
Aa
#290dfb on white: 8.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#290dfb on black: 2.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.1%
Green5.1%
Blue98.4%
CMYK percentages
Cyan83.7%
Magenta94.8%
Yellow0.0%
Key (black)1.6%
Color previews
#290dfb text on a black background
contrast 2.54:1
Card sample
#290dfb text on a white background
contrast 8.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #290dfb;
Background color
Panel with #290dfb background
background-color: #290dfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #290dfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(41, 13, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 13, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #290dfb; background: linear-gradient(135deg, #290dfb, #C80DFB);