#2f10cf
a dark, electric blue · warm · closest name: blue
RGB
47, 16, 207
HSL
250°, 86%, 44%
CMYK
77, 92, 0, 19
Luminance
0.0548
Every format
| HEX | #2f10cf |
| RGB | rgb(47, 16, 207) |
| HSL | hsl(250, 86%, 44%) |
| CMYK | cmyk(77%, 92%, 0%, 19%) |
| LAB | lab(28.1 65.2 -87.5) |
| LCH | lch(28.1 109.1 306.7) |
| OKLCH | oklch(0.410 0.253 272.7) |
Copy-ready code
/* CSS */
color: #2f10cf;
background-color: #2f10cf;
/* Tailwind (arbitrary) */
class="text-[#2f10cf] bg-[#2f10cf]"
/* SCSS */
$brand: #2f10cf;
/* SwiftUI */
Color(red: 0.184, green: 0.063, blue: 0.812)
/* Android */
Color.parseColor("#2f10cf")Accessibility — WCAG contrast
Aa
#2f10cf on white: 10.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2f10cf on black: 2.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.4%
Green6.3%
Blue81.2%
CMYK percentages
Cyan77.3%
Magenta92.3%
Yellow0.0%
Key (black)18.8%
Color previews
#2f10cf text on a black background
contrast 2.10:1
Card sample
#2f10cf text on a white background
contrast 10.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2f10cf;
Background color
Panel with #2f10cf background
background-color: #2f10cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2f10cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(47, 16, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 16, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f10cf; background: linear-gradient(135deg, #2f10cf, #AE10CF);