#1869df
a balanced, electric blue · cool · closest name: royalblue
RGB
24, 105, 223
HSL
216°, 81%, 48%
CMYK
89, 53, 0, 13
Luminance
0.1563
Every format
| HEX | #1869df |
| RGB | rgb(24, 105, 223) |
| HSL | hsl(216, 81%, 48%) |
| CMYK | cmyk(89%, 53%, 0%, 13%) |
| LAB | lab(46.5 21.7 -66.4) |
| LCH | lch(46.5 69.9 288.1) |
| OKLCH | oklch(0.546 0.195 259.2) |
Copy-ready code
/* CSS */
color: #1869df;
background-color: #1869df;
/* Tailwind (arbitrary) */
class="text-[#1869df] bg-[#1869df]"
/* SCSS */
$brand: #1869df;
/* SwiftUI */
Color(red: 0.094, green: 0.412, blue: 0.875)
/* Android */
Color.parseColor("#1869df")Accessibility — WCAG contrast
Aa
#1869df on white: 5.09:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#1869df on black: 4.13:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green41.2%
Blue87.5%
CMYK percentages
Cyan89.2%
Magenta52.9%
Yellow0.0%
Key (black)12.5%
Color previews
#1869df text on a black background
contrast 4.13:1
Card sample
#1869df text on a white background
contrast 5.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1869df;
Background color
Panel with #1869df background
background-color: #1869df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1869df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 105, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 105, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1869df; background: linear-gradient(135deg, #1869df, #4C18DF);