#1972df
a balanced, electric blue · cool · closest name: royalblue
RGB
25, 114, 223
HSL
213°, 80%, 49%
CMYK
89, 49, 0, 13
Luminance
0.1757
Every format
| HEX | #1972df |
| RGB | rgb(25, 114, 223) |
| HSL | hsl(213, 80%, 49%) |
| CMYK | cmyk(89%, 49%, 0%, 13%) |
| LAB | lab(49.0 16.0 -62.4) |
| LCH | lch(49.0 64.4 284.4) |
| OKLCH | oklch(0.565 0.184 256.9) |
Copy-ready code
/* CSS */
color: #1972df;
background-color: #1972df;
/* Tailwind (arbitrary) */
class="text-[#1972df] bg-[#1972df]"
/* SCSS */
$brand: #1972df;
/* SwiftUI */
Color(red: 0.098, green: 0.447, blue: 0.875)
/* Android */
Color.parseColor("#1972df")Accessibility — WCAG contrast
Aa
#1972df on white: 4.65:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#1972df on black: 4.51:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.8%
Green44.7%
Blue87.5%
CMYK percentages
Cyan88.8%
Magenta48.9%
Yellow0.0%
Key (black)12.5%
Color previews
#1972df text on a black background
contrast 4.51:1
Card sample
#1972df text on a white background
contrast 4.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1972df;
Background color
Panel with #1972df background
background-color: #1972df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1972df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(25, 114, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(25, 114, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1972df; background: linear-gradient(135deg, #1972df, #4419DF);