#173dfd
a balanced, electric blue · warm · closest name: blue
RGB
23, 61, 253
HSL
230°, 98%, 54%
CMYK
91, 76, 0, 1
Luminance
0.1061
Every format
| HEX | #173dfd |
| RGB | rgb(23, 61, 253) |
| HSL | hsl(230, 98%, 54%) |
| CMYK | cmyk(91%, 76%, 0%, 1%) |
| LAB | lab(38.9 59.4 -95.7) |
| LCH | lch(38.9 112.7 301.8) |
| OKLCH | oklch(0.498 0.279 265.4) |
Copy-ready code
/* CSS */
color: #173dfd;
background-color: #173dfd;
/* Tailwind (arbitrary) */
class="text-[#173dfd] bg-[#173dfd]"
/* SCSS */
$brand: #173dfd;
/* SwiftUI */
Color(red: 0.090, green: 0.239, blue: 0.992)
/* Android */
Color.parseColor("#173dfd")Accessibility — WCAG contrast
Aa
#173dfd on white: 6.73:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#173dfd on black: 3.12:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.0%
Green23.9%
Blue99.2%
CMYK percentages
Cyan90.9%
Magenta75.9%
Yellow0.0%
Key (black)0.8%
Color previews
#173dfd text on a black background
contrast 3.12:1
Card sample
#173dfd text on a white background
contrast 6.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #173dfd;
Background color
Panel with #173dfd background
background-color: #173dfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #173dfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(23, 61, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 61, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #173dfd; background: linear-gradient(135deg, #173dfd, #8A17FD);