#7474ff
a light, electric blue · warm · closest name: royalblue
RGB
116, 116, 255
HSL
240°, 100%, 73%
CMYK
55, 55, 0, 0
Luminance
0.2342
Every format
| HEX | #7474ff |
| RGB | rgb(116, 116, 255) |
| HSL | hsl(240, 100%, 73%) |
| CMYK | cmyk(55%, 55%, 0%, 0%) |
| LAB | lab(55.5 37.8 -69.5) |
| LCH | lch(55.5 79.1 298.5) |
| OKLCH | oklch(0.631 0.201 278.9) |
Copy-ready code
/* CSS */
color: #7474ff;
background-color: #7474ff;
/* Tailwind (arbitrary) */
class="text-[#7474ff] bg-[#7474ff]"
/* SCSS */
$brand: #7474ff;
/* SwiftUI */
Color(red: 0.455, green: 0.455, blue: 1.000)
/* Android */
Color.parseColor("#7474ff")Accessibility — WCAG contrast
Aa
#7474ff on white: 3.69:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#7474ff on black: 5.68:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red45.5%
Green45.5%
Blue100.0%
CMYK percentages
Cyan54.5%
Magenta54.5%
Yellow0.0%
Key (black)0.0%
Color previews
#7474ff text on a black background
contrast 5.68:1
Card sample
#7474ff text on a white background
contrast 3.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7474ff;
Background color
Panel with #7474ff background
background-color: #7474ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7474ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(116, 116, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(116, 116, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7474ff; background: linear-gradient(135deg, #7474ff, #D174FF);