#2f30df
a balanced, vivid blue · warm · closest name: blue
RGB
47, 48, 223
HSL
240°, 73%, 53%
CMYK
79, 79, 0, 13
Luminance
0.0805
Every format
| HEX | #2f30df |
| RGB | rgb(47, 48, 223) |
| HSL | hsl(240, 73%, 53%) |
| CMYK | cmyk(79%, 79%, 0%, 13%) |
| LAB | lab(34.1 57.6 -86.7) |
| LCH | lch(34.1 104.1 303.6) |
| OKLCH | oklch(0.457 0.251 270.5) |
Copy-ready code
/* CSS */
color: #2f30df;
background-color: #2f30df;
/* Tailwind (arbitrary) */
class="text-[#2f30df] bg-[#2f30df]"
/* SCSS */
$brand: #2f30df;
/* SwiftUI */
Color(red: 0.184, green: 0.188, blue: 0.875)
/* Android */
Color.parseColor("#2f30df")Accessibility — WCAG contrast
Aa
#2f30df on white: 8.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2f30df on black: 2.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.4%
Green18.8%
Blue87.5%
CMYK percentages
Cyan78.9%
Magenta78.5%
Yellow0.0%
Key (black)12.5%
Color previews
#2f30df text on a black background
contrast 2.61:1
Card sample
#2f30df text on a white background
contrast 8.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2f30df;
Background color
Panel with #2f30df background
background-color: #2f30df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2f30df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(47, 48, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 48, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f30df; background: linear-gradient(135deg, #2f30df, #A32FDF);