#1458b8
a dark, electric blue · cool · closest name: royalblue
RGB
20, 88, 184
HSL
215°, 80%, 40%
CMYK
89, 52, 0, 28
Luminance
0.1059
Every format
| HEX | #1458b8 |
| RGB | rgb(20, 88, 184) |
| HSL | hsl(215, 80%, 40%) |
| CMYK | cmyk(89%, 52%, 0%, 28%) |
| LAB | lab(38.9 17.2 -56.2) |
| LCH | lch(38.9 58.8 287.0) |
| OKLCH | oklch(0.479 0.166 258.7) |
Copy-ready code
/* CSS */
color: #1458b8;
background-color: #1458b8;
/* Tailwind (arbitrary) */
class="text-[#1458b8] bg-[#1458b8]"
/* SCSS */
$brand: #1458b8;
/* SwiftUI */
Color(red: 0.078, green: 0.345, blue: 0.722)
/* Android */
Color.parseColor("#1458b8")Accessibility — WCAG contrast
Aa
#1458b8 on white: 6.74:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#1458b8 on black: 3.12:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red7.8%
Green34.5%
Blue72.2%
CMYK percentages
Cyan89.1%
Magenta52.2%
Yellow0.0%
Key (black)27.8%
Color previews
#1458b8 text on a black background
contrast 3.12:1
Card sample
#1458b8 text on a white background
contrast 6.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1458b8;
Background color
Panel with #1458b8 background
background-color: #1458b8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1458b8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(20, 88, 184, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(20, 88, 184, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1458b8; background: linear-gradient(135deg, #1458b8, #3D14B8);