#178afb
a balanced, electric blue · cool · closest name: dodgerblue
RGB
23, 138, 251
HSL
210°, 97%, 54%
CMYK
91, 45, 0, 2
Luminance
0.2532
Every format
| HEX | #178afb |
| RGB | rgb(23, 138, 251) |
| HSL | hsl(210, 97%, 54%) |
| CMYK | cmyk(91%, 45%, 0%, 2%) |
| LAB | lab(57.4 11.7 -64.4) |
| LCH | lch(57.4 65.5 280.3) |
| OKLCH | oklch(0.635 0.193 253.9) |
Copy-ready code
/* CSS */
color: #178afb;
background-color: #178afb;
/* Tailwind (arbitrary) */
class="text-[#178afb] bg-[#178afb]"
/* SCSS */
$brand: #178afb;
/* SwiftUI */
Color(red: 0.090, green: 0.541, blue: 0.984)
/* Android */
Color.parseColor("#178afb")Accessibility — WCAG contrast
Aa
#178afb on white: 3.46:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#178afb on black: 6.06:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.0%
Green54.1%
Blue98.4%
CMYK percentages
Cyan90.8%
Magenta45.0%
Yellow0.0%
Key (black)1.6%
Color previews
#178afb text on a black background
contrast 6.06:1
Card sample
#178afb text on a white background
contrast 3.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #178afb;
Background color
Panel with #178afb background
background-color: #178afb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #178afb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(23, 138, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 138, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #178afb; background: linear-gradient(135deg, #178afb, #3C17FB);