#0764ff
a balanced, electric blue · cool · closest name: royalblue
RGB
7, 100, 255
HSL
218°, 100%, 51%
CMYK
97, 61, 0, 0
Luminance
0.1638
Every format
| HEX | #0764ff |
| RGB | rgb(7, 100, 255) |
| HSL | hsl(218, 100%, 51%) |
| CMYK | cmyk(97%, 61%, 0%, 0%) |
| LAB | lab(47.5 36.6 -82.7) |
| LCH | lch(47.5 90.5 293.9) |
| OKLCH | oklch(0.560 0.243 261.4) |
Copy-ready code
/* CSS */
color: #0764ff;
background-color: #0764ff;
/* Tailwind (arbitrary) */
class="text-[#0764ff] bg-[#0764ff]"
/* SCSS */
$brand: #0764ff;
/* SwiftUI */
Color(red: 0.027, green: 0.392, blue: 1.000)
/* Android */
Color.parseColor("#0764ff")Accessibility — WCAG contrast
Aa
#0764ff on white: 4.91:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0764ff on black: 4.28:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.7%
Green39.2%
Blue100.0%
CMYK percentages
Cyan97.3%
Magenta60.8%
Yellow0.0%
Key (black)0.0%
Color previews
#0764ff text on a black background
contrast 4.28:1
Card sample
#0764ff text on a white background
contrast 4.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0764ff;
Background color
Panel with #0764ff background
background-color: #0764ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0764ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(7, 100, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 100, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0764ff; background: linear-gradient(135deg, #0764ff, #4F07FF);