#080cfd
a balanced, electric blue · warm · closest name: blue
RGB
8, 12, 253
HSL
239°, 98%, 51%
CMYK
97, 95, 0, 1
Luminance
0.0741
Every format
| HEX | #080cfd |
| RGB | rgb(8, 12, 253) |
| HSL | hsl(239, 98%, 51%) |
| CMYK | cmyk(97%, 95%, 0%, 1%) |
| LAB | lab(32.7 76.9 -106.0) |
| LCH | lch(32.7 131.0 306.0) |
| OKLCH | oklch(0.454 0.308 264.6) |
Copy-ready code
/* CSS */
color: #080cfd;
background-color: #080cfd;
/* Tailwind (arbitrary) */
class="text-[#080cfd] bg-[#080cfd]"
/* SCSS */
$brand: #080cfd;
/* SwiftUI */
Color(red: 0.031, green: 0.047, blue: 0.992)
/* Android */
Color.parseColor("#080cfd")Accessibility — WCAG contrast
Aa
#080cfd on white: 8.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080cfd on black: 2.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green4.7%
Blue99.2%
CMYK percentages
Cyan96.8%
Magenta95.3%
Yellow0.0%
Key (black)0.8%
Color previews
#080cfd text on a black background
contrast 2.48:1
Card sample
#080cfd text on a white background
contrast 8.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080cfd;
Background color
Panel with #080cfd background
background-color: #080cfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080cfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 12, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 12, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080cfd; background: linear-gradient(135deg, #080cfd, #A708FD);