#4830df
a balanced, vivid blue · warm · closest name: blue
RGB
72, 48, 223
HSL
248°, 73%, 53%
CMYK
68, 79, 0, 13
Luminance
0.0882
Every format
| HEX | #4830df |
| RGB | rgb(72, 48, 223) |
| HSL | hsl(248, 73%, 53%) |
| CMYK | cmyk(68%, 79%, 0%, 13%) |
| LAB | lab(35.6 59.4 -84.1) |
| LCH | lch(35.6 103.0 305.2) |
| OKLCH | oklch(0.471 0.245 277.6) |
Copy-ready code
/* CSS */
color: #4830df;
background-color: #4830df;
/* Tailwind (arbitrary) */
class="text-[#4830df] bg-[#4830df]"
/* SCSS */
$brand: #4830df;
/* SwiftUI */
Color(red: 0.282, green: 0.188, blue: 0.875)
/* Android */
Color.parseColor("#4830df")Accessibility — WCAG contrast
Aa
#4830df on white: 7.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#4830df on black: 2.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red28.2%
Green18.8%
Blue87.5%
CMYK percentages
Cyan67.7%
Magenta78.5%
Yellow0.0%
Key (black)12.5%
Color previews
#4830df text on a black background
contrast 2.76:1
Card sample
#4830df text on a white background
contrast 7.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4830df;
Background color
Panel with #4830df background
background-color: #4830df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4830df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(72, 48, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(72, 48, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4830df; background: linear-gradient(135deg, #4830df, #BD30DF);