#185fdf
a balanced, electric blue · cool · closest name: royalblue
RGB
24, 95, 223
HSL
219°, 81%, 48%
CMYK
89, 57, 0, 13
Luminance
0.1371
Every format
| HEX | #185fdf |
| RGB | rgb(24, 95, 223) |
| HSL | hsl(219, 81%, 48%) |
| CMYK | cmyk(89%, 57%, 0%, 13%) |
| LAB | lab(43.8 28.2 -70.7) |
| LCH | lch(43.8 76.1 291.7) |
| OKLCH | oklch(0.525 0.207 261.3) |
Copy-ready code
/* CSS */
color: #185fdf;
background-color: #185fdf;
/* Tailwind (arbitrary) */
class="text-[#185fdf] bg-[#185fdf]"
/* SCSS */
$brand: #185fdf;
/* SwiftUI */
Color(red: 0.094, green: 0.373, blue: 0.875)
/* Android */
Color.parseColor("#185fdf")Accessibility — WCAG contrast
Aa
#185fdf on white: 5.61:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#185fdf on black: 3.74:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green37.3%
Blue87.5%
CMYK percentages
Cyan89.2%
Magenta57.4%
Yellow0.0%
Key (black)12.5%
Color previews
#185fdf text on a black background
contrast 3.74:1
Card sample
#185fdf text on a white background
contrast 5.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #185fdf;
Background color
Panel with #185fdf background
background-color: #185fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #185fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 95, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 95, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #185fdf; background: linear-gradient(135deg, #185fdf, #5618DF);