#0055ff
a balanced, electric blue · cool · closest name: royalblue
RGB
0, 85, 255
HSL
220°, 100%, 50%
CMYK
100, 67, 0, 0
Luminance
0.1372
Every format
| HEX | #0055ff |
| RGB | rgb(0, 85, 255) |
| HSL | hsl(220, 100%, 50%) |
| CMYK | cmyk(100%, 67%, 0%, 0%) |
| LAB | lab(43.8 45.8 -88.7) |
| LCH | lch(43.8 99.8 297.3) |
| OKLCH | oklch(0.533 0.260 262.6) |
Copy-ready code
/* CSS */
color: #0055ff;
background-color: #0055ff;
/* Tailwind (arbitrary) */
class="text-[#0055ff] bg-[#0055ff]"
/* SCSS */
$brand: #0055ff;
/* SwiftUI */
Color(red: 0.000, green: 0.333, blue: 1.000)
/* Android */
Color.parseColor("#0055ff")Accessibility — WCAG contrast
Aa
#0055ff on white: 5.61:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0055ff on black: 3.74:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green33.3%
Blue100.0%
CMYK percentages
Cyan100.0%
Magenta66.7%
Yellow0.0%
Key (black)0.0%
Color previews
#0055ff text on a black background
contrast 3.74:1
Card sample
#0055ff text on a white background
contrast 5.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0055ff;
Background color
Panel with #0055ff background
background-color: #0055ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0055ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0055ff; background: linear-gradient(135deg, #0055ff, #5500FF);