#280df8
a balanced, electric blue · warm · closest name: blue
RGB
40, 13, 248
HSL
247°, 94%, 51%
CMYK
84, 95, 0, 3
Luminance
0.0752
Every format
| HEX | #280df8 |
| RGB | rgb(40, 13, 248) |
| HSL | hsl(247, 94%, 51%) |
| CMYK | cmyk(84%, 95%, 0%, 3%) |
| LAB | lab(33.0 75.9 -102.8) |
| LCH | lch(33.0 127.8 306.4) |
| OKLCH | oklch(0.457 0.297 268.7) |
Copy-ready code
/* CSS */
color: #280df8;
background-color: #280df8;
/* Tailwind (arbitrary) */
class="text-[#280df8] bg-[#280df8]"
/* SCSS */
$brand: #280df8;
/* SwiftUI */
Color(red: 0.157, green: 0.051, blue: 0.973)
/* Android */
Color.parseColor("#280df8")Accessibility — WCAG contrast
Aa
#280df8 on white: 8.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#280df8 on black: 2.50:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green5.1%
Blue97.3%
CMYK percentages
Cyan83.9%
Magenta94.8%
Yellow0.0%
Key (black)2.7%
Color previews
#280df8 text on a black background
contrast 2.50:1
Card sample
#280df8 text on a white background
contrast 8.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #280df8;
Background color
Panel with #280df8 background
background-color: #280df8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #280df8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 13, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 13, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #280df8; background: linear-gradient(135deg, #280df8, #C50DF8);