#3028df
a balanced, vivid blue · warm · closest name: blue
RGB
48, 40, 223
HSL
243°, 74%, 52%
CMYK
79, 82, 0, 13
Luminance
0.0747
Every format
| HEX | #3028df |
| RGB | rgb(48, 40, 223) |
| HSL | hsl(243, 74%, 52%) |
| CMYK | cmyk(79%, 82%, 0%, 13%) |
| LAB | lab(32.9 61.4 -88.7) |
| LCH | lch(32.9 107.9 304.7) |
| OKLCH | oklch(0.448 0.257 271.1) |
Copy-ready code
/* CSS */
color: #3028df;
background-color: #3028df;
/* Tailwind (arbitrary) */
class="text-[#3028df] bg-[#3028df]"
/* SCSS */
$brand: #3028df;
/* SwiftUI */
Color(red: 0.188, green: 0.157, blue: 0.875)
/* Android */
Color.parseColor("#3028df")Accessibility — WCAG contrast
Aa
#3028df on white: 8.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3028df on black: 2.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green15.7%
Blue87.5%
CMYK percentages
Cyan78.5%
Magenta82.1%
Yellow0.0%
Key (black)12.5%
Color previews
#3028df text on a black background
contrast 2.49:1
Card sample
#3028df text on a white background
contrast 8.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3028df;
Background color
Panel with #3028df background
background-color: #3028df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3028df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 40, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 40, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3028df; background: linear-gradient(135deg, #3028df, #AA28DF);