#080af2
a balanced, electric blue · warm · closest name: blue
RGB
8, 10, 242
HSL
240°, 94%, 49%
CMYK
97, 96, 0, 5
Luminance
0.0668
Every format
| HEX | #080af2 |
| RGB | rgb(8, 10, 242) |
| HSL | hsl(240, 94%, 49%) |
| CMYK | cmyk(97%, 96%, 0%, 5%) |
| LAB | lab(31.1 74.5 -102.6) |
| LCH | lch(31.1 126.8 306.0) |
| OKLCH | oklch(0.439 0.298 264.7) |
Copy-ready code
/* CSS */
color: #080af2;
background-color: #080af2;
/* Tailwind (arbitrary) */
class="text-[#080af2] bg-[#080af2]"
/* SCSS */
$brand: #080af2;
/* SwiftUI */
Color(red: 0.031, green: 0.039, blue: 0.949)
/* Android */
Color.parseColor("#080af2")Accessibility — WCAG contrast
Aa
#080af2 on white: 8.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080af2 on black: 2.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green3.9%
Blue94.9%
CMYK percentages
Cyan96.7%
Magenta95.9%
Yellow0.0%
Key (black)5.1%
Color previews
#080af2 text on a black background
contrast 2.34:1
Card sample
#080af2 text on a white background
contrast 8.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080af2;
Background color
Panel with #080af2 background
background-color: #080af2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080af2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 10, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 10, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080af2; background: linear-gradient(135deg, #080af2, #A208F2);