#178cfd
a balanced, electric blue · cool · “dodgerblue”
RGB
23, 140, 253
HSL
210°, 98%, 54%
CMYK
91, 45, 0, 1
Luminance
0.2603
Every format
| HEX | #178cfd |
| RGB | rgb(23, 140, 253) |
| HSL | hsl(210, 98%, 54%) |
| CMYK | cmyk(91%, 45%, 0%, 1%) |
| LAB | lab(58.1 11.3 -64.4) |
| LCH | lch(58.1 65.4 279.9) |
| OKLCH | oklch(0.641 0.193 253.6) |
Copy-ready code
/* CSS */
color: #178cfd;
background-color: #178cfd;
/* Tailwind (arbitrary) */
class="text-[#178cfd] bg-[#178cfd]"
/* SCSS */
$brand: #178cfd;
/* SwiftUI */
Color(red: 0.090, green: 0.549, blue: 0.992)
/* Android */
Color.parseColor("#178cfd")Accessibility — WCAG contrast
Aa
#178cfd on white: 3.38:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#178cfd on black: 6.21:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.0%
Green54.9%
Blue99.2%
CMYK percentages
Cyan90.9%
Magenta44.7%
Yellow0.0%
Key (black)0.8%
Color previews
#178cfd text on a black background
contrast 6.21:1
Card sample
#178cfd text on a white background
contrast 3.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #178cfd;
Background color
Panel with #178cfd background
background-color: #178cfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #178cfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(23, 140, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 140, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #178cfd; background: linear-gradient(135deg, #178cfd, #3B17FD);