#1879ff
a balanced, electric blue · cool · closest name: royalblue
RGB
24, 121, 255
HSL
215°, 100%, 55%
CMYK
91, 53, 0, 0
Luminance
0.2109
Every format
| HEX | #1879ff |
| RGB | rgb(24, 121, 255) |
| HSL | hsl(215, 100%, 55%) |
| CMYK | cmyk(91%, 53%, 0%, 0%) |
| LAB | lab(53.0 23.9 -73.6) |
| LCH | lch(53.0 77.4 288.0) |
| OKLCH | oklch(0.603 0.217 258.8) |
Copy-ready code
/* CSS */
color: #1879ff;
background-color: #1879ff;
/* Tailwind (arbitrary) */
class="text-[#1879ff] bg-[#1879ff]"
/* SCSS */
$brand: #1879ff;
/* SwiftUI */
Color(red: 0.094, green: 0.475, blue: 1.000)
/* Android */
Color.parseColor("#1879ff")Accessibility — WCAG contrast
Aa
#1879ff on white: 4.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#1879ff on black: 5.22:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green47.5%
Blue100.0%
CMYK percentages
Cyan90.6%
Magenta52.5%
Yellow0.0%
Key (black)0.0%
Color previews
#1879ff text on a black background
contrast 5.22:1
Card sample
#1879ff text on a white background
contrast 4.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1879ff;
Background color
Panel with #1879ff background
background-color: #1879ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1879ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 121, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 121, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1879ff; background: linear-gradient(135deg, #1879ff, #5118FF);