#280fdf
a balanced, electric blue · warm · closest name: blue
RGB
40, 15, 223
HSL
247°, 87%, 47%
CMYK
82, 93, 0, 13
Luminance
0.0612
Every format
| HEX | #280fdf |
| RGB | rgb(40, 15, 223) |
| HSL | hsl(247, 87%, 47%) |
| CMYK | cmyk(82%, 93%, 0%, 13%) |
| LAB | lab(29.7 69.3 -94.0) |
| LCH | lch(29.7 116.8 306.4) |
| OKLCH | oklch(0.426 0.272 269.8) |
Copy-ready code
/* CSS */
color: #280fdf;
background-color: #280fdf;
/* Tailwind (arbitrary) */
class="text-[#280fdf] bg-[#280fdf]"
/* SCSS */
$brand: #280fdf;
/* SwiftUI */
Color(red: 0.157, green: 0.059, blue: 0.875)
/* Android */
Color.parseColor("#280fdf")Accessibility — WCAG contrast
Aa
#280fdf on white: 9.44:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#280fdf on black: 2.22:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green5.9%
Blue87.5%
CMYK percentages
Cyan82.1%
Magenta93.3%
Yellow0.0%
Key (black)12.5%
Color previews
#280fdf text on a black background
contrast 2.22:1
Card sample
#280fdf text on a white background
contrast 9.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #280fdf;
Background color
Panel with #280fdf background
background-color: #280fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #280fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 15, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 15, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #280fdf; background: linear-gradient(135deg, #280fdf, #B30FDF);