#280fd2
a dark, electric blue · warm · closest name: blue
RGB
40, 15, 210
HSL
248°, 87%, 44%
CMYK
81, 93, 0, 18
Luminance
0.0545
Every format
| HEX | #280fd2 |
| RGB | rgb(40, 15, 210) |
| HSL | hsl(248, 87%, 44%) |
| CMYK | cmyk(81%, 93%, 0%, 18%) |
| LAB | lab(28.0 65.9 -89.4) |
| LCH | lch(28.0 111.1 306.4) |
| OKLCH | oklch(0.409 0.258 270.5) |
Copy-ready code
/* CSS */
color: #280fd2;
background-color: #280fd2;
/* Tailwind (arbitrary) */
class="text-[#280fd2] bg-[#280fd2]"
/* SCSS */
$brand: #280fd2;
/* SwiftUI */
Color(red: 0.157, green: 0.059, blue: 0.824)
/* Android */
Color.parseColor("#280fd2")Accessibility — WCAG contrast
Aa
#280fd2 on white: 10.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#280fd2 on black: 2.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green5.9%
Blue82.4%
CMYK percentages
Cyan81.0%
Magenta92.9%
Yellow0.0%
Key (black)17.6%
Color previews
#280fd2 text on a black background
contrast 2.09:1
Card sample
#280fd2 text on a white background
contrast 10.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #280fd2;
Background color
Panel with #280fd2 background
background-color: #280fd2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #280fd2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 15, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 15, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #280fd2; background: linear-gradient(135deg, #280fd2, #AA0FD2);