#1c4eb0
a dark, vivid blue · cool · closest name: royalblue
RGB
28, 78, 176
HSL
220°, 73%, 40%
CMYK
84, 56, 0, 31
Luminance
0.0883
Every format
| HEX | #1c4eb0 |
| RGB | rgb(28, 78, 176) |
| HSL | hsl(220, 73%, 40%) |
| CMYK | cmyk(84%, 56%, 0%, 31%) |
| LAB | lab(35.6 21.3 -56.8) |
| LCH | lch(35.6 60.6 290.6) |
| OKLCH | oklch(0.453 0.166 261.9) |
Copy-ready code
/* CSS */
color: #1c4eb0;
background-color: #1c4eb0;
/* Tailwind (arbitrary) */
class="text-[#1c4eb0] bg-[#1c4eb0]"
/* SCSS */
$brand: #1c4eb0;
/* SwiftUI */
Color(red: 0.110, green: 0.306, blue: 0.690)
/* Android */
Color.parseColor("#1c4eb0")Accessibility — WCAG contrast
Aa
#1c4eb0 on white: 7.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1c4eb0 on black: 2.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red11.0%
Green30.6%
Blue69.0%
CMYK percentages
Cyan84.1%
Magenta55.7%
Yellow0.0%
Key (black)31.0%
Color previews
#1c4eb0 text on a black background
contrast 2.77:1
Card sample
#1c4eb0 text on a white background
contrast 7.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1c4eb0;
Background color
Panel with #1c4eb0 background
background-color: #1c4eb0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1c4eb0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(28, 78, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(28, 78, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1c4eb0; background: linear-gradient(135deg, #1c4eb0, #4D1CB0);