#281afd
a balanced, electric blue · warm · closest name: blue
RGB
40, 26, 253
HSL
244°, 98%, 55%
CMYK
84, 90, 0, 1
Luminance
0.0828
Every format
| HEX | #281afd |
| RGB | rgb(40, 26, 253) |
| HSL | hsl(244, 98%, 55%) |
| CMYK | cmyk(84%, 90%, 0%, 1%) |
| LAB | lab(34.6 74.3 -102.9) |
| LCH | lch(34.6 126.9 305.8) |
| OKLCH | oklch(0.469 0.298 268.4) |
Copy-ready code
/* CSS */
color: #281afd;
background-color: #281afd;
/* Tailwind (arbitrary) */
class="text-[#281afd] bg-[#281afd]"
/* SCSS */
$brand: #281afd;
/* SwiftUI */
Color(red: 0.157, green: 0.102, blue: 0.992)
/* Android */
Color.parseColor("#281afd")Accessibility — WCAG contrast
Aa
#281afd on white: 7.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#281afd on black: 2.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green10.2%
Blue99.2%
CMYK percentages
Cyan84.2%
Magenta89.7%
Yellow0.0%
Key (black)0.8%
Color previews
#281afd text on a black background
contrast 2.66:1
Card sample
#281afd text on a white background
contrast 7.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #281afd;
Background color
Panel with #281afd background
background-color: #281afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #281afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 26, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 26, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #281afd; background: linear-gradient(135deg, #281afd, #BF1AFD);