#280df2
a balanced, electric blue · warm · closest name: blue
RGB
40, 13, 242
HSL
247°, 90%, 50%
CMYK
84, 95, 0, 5
Luminance
0.0715
Every format
| HEX | #280df2 |
| RGB | rgb(40, 13, 242) |
| HSL | hsl(247, 90%, 50%) |
| CMYK | cmyk(84%, 95%, 0%, 5%) |
| LAB | lab(32.1 74.4 -100.8) |
| LCH | lch(32.1 125.3 306.5) |
| OKLCH | oklch(0.449 0.291 268.9) |
Copy-ready code
/* CSS */
color: #280df2;
background-color: #280df2;
/* Tailwind (arbitrary) */
class="text-[#280df2] bg-[#280df2]"
/* SCSS */
$brand: #280df2;
/* SwiftUI */
Color(red: 0.157, green: 0.051, blue: 0.949)
/* Android */
Color.parseColor("#280df2")Accessibility — WCAG contrast
Aa
#280df2 on white: 8.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#280df2 on black: 2.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green5.1%
Blue94.9%
CMYK percentages
Cyan83.5%
Magenta94.6%
Yellow0.0%
Key (black)5.1%
Color previews
#280df2 text on a black background
contrast 2.43:1
Card sample
#280df2 text on a white background
contrast 8.64:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #280df2;
Background color
Panel with #280df2 background
background-color: #280df2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #280df2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 13, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 13, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #280df2; background: linear-gradient(135deg, #280df2, #C10DF2);