#51a8ff
a light, electric blue · cool · closest name: dodgerblue
RGB
81, 168, 255
HSL
210°, 100%, 66%
CMYK
68, 34, 0, 0
Luminance
0.3697
Every format
| HEX | #51a8ff |
| RGB | rgb(81, 168, 255) |
| HSL | hsl(210, 100%, 66%) |
| CMYK | cmyk(68%, 34%, 0%, 0%) |
| LAB | lab(67.3 1.0 -50.8) |
| LCH | lch(67.3 50.8 271.2) |
| OKLCH | oklch(0.717 0.153 250.8) |
Copy-ready code
/* CSS */
color: #51a8ff;
background-color: #51a8ff;
/* Tailwind (arbitrary) */
class="text-[#51a8ff] bg-[#51a8ff]"
/* SCSS */
$brand: #51a8ff;
/* SwiftUI */
Color(red: 0.318, green: 0.659, blue: 1.000)
/* Android */
Color.parseColor("#51a8ff")Accessibility — WCAG contrast
Aa
#51a8ff on white: 2.50:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#51a8ff on black: 8.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.8%
Green65.9%
Blue100.0%
CMYK percentages
Cyan68.2%
Magenta34.1%
Yellow0.0%
Key (black)0.0%
Color previews
#51a8ff text on a black background
contrast 8.39:1
Card sample
#51a8ff text on a white background
contrast 2.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #51a8ff;
Background color
Panel with #51a8ff background
background-color: #51a8ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #51a8ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(81, 168, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 168, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #51a8ff; background: linear-gradient(135deg, #51a8ff, #6E51FF);