#757df1
a light, electric blue · warm · closest name: royalblue
RGB
117, 125, 241
HSL
236°, 82%, 70%
CMYK
52, 48, 0, 6
Luminance
0.2480
Every format
| HEX | #757df1 |
| RGB | rgb(117, 125, 241) |
| HSL | hsl(236, 82%, 70%) |
| CMYK | cmyk(52%, 48%, 0%, 6%) |
| LAB | lab(56.9 28.3 -59.5) |
| LCH | lch(56.9 65.9 295.5) |
| OKLCH | oklch(0.639 0.171 277.4) |
Copy-ready code
/* CSS */
color: #757df1;
background-color: #757df1;
/* Tailwind (arbitrary) */
class="text-[#757df1] bg-[#757df1]"
/* SCSS */
$brand: #757df1;
/* SwiftUI */
Color(red: 0.459, green: 0.490, blue: 0.945)
/* Android */
Color.parseColor("#757df1")Accessibility — WCAG contrast
Aa
#757df1 on white: 3.52:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#757df1 on black: 5.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red45.9%
Green49.0%
Blue94.5%
CMYK percentages
Cyan51.5%
Magenta48.1%
Yellow0.0%
Key (black)5.5%
Color previews
#757df1 text on a black background
contrast 5.96:1
Card sample
#757df1 text on a white background
contrast 3.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #757df1;
Background color
Panel with #757df1 background
background-color: #757df1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #757df1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(117, 125, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(117, 125, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #757df1; background: linear-gradient(135deg, #757df1, #C075F1);