#178afd
a balanced, electric blue · cool · closest name: dodgerblue
RGB
23, 138, 253
HSL
210°, 98%, 54%
CMYK
91, 46, 0, 1
Luminance
0.2545
Every format
| HEX | #178afd |
| RGB | rgb(23, 138, 253) |
| HSL | hsl(210, 98%, 54%) |
| CMYK | cmyk(91%, 46%, 0%, 1%) |
| LAB | lab(57.5 12.5 -65.3) |
| LCH | lch(57.5 66.5 280.8) |
| OKLCH | oklch(0.637 0.195 254.2) |
Copy-ready code
/* CSS */
color: #178afd;
background-color: #178afd;
/* Tailwind (arbitrary) */
class="text-[#178afd] bg-[#178afd]"
/* SCSS */
$brand: #178afd;
/* SwiftUI */
Color(red: 0.090, green: 0.541, blue: 0.992)
/* Android */
Color.parseColor("#178afd")Accessibility — WCAG contrast
Aa
#178afd on white: 3.45:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#178afd on black: 6.09:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.0%
Green54.1%
Blue99.2%
CMYK percentages
Cyan90.9%
Magenta45.5%
Yellow0.0%
Key (black)0.8%
Color previews
#178afd text on a black background
contrast 6.09:1
Card sample
#178afd text on a white background
contrast 3.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #178afd;
Background color
Panel with #178afd background
background-color: #178afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #178afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(23, 138, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 138, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #178afd; background: linear-gradient(135deg, #178afd, #3D17FD);