#40acef
a balanced, electric blue · cool · closest name: steelblue
RGB
64, 172, 239
HSL
203°, 85%, 59%
CMYK
73, 28, 0, 6
Luminance
0.3683
Every format
| HEX | #40acef |
| RGB | rgb(64, 172, 239) |
| HSL | hsl(203, 85%, 59%) |
| CMYK | cmyk(73%, 28%, 0%, 6%) |
| LAB | lab(67.1 -9.0 -42.3) |
| LCH | lch(67.1 43.2 258.0) |
| OKLCH | oklch(0.712 0.138 240.3) |
Copy-ready code
/* CSS */
color: #40acef;
background-color: #40acef;
/* Tailwind (arbitrary) */
class="text-[#40acef] bg-[#40acef]"
/* SCSS */
$brand: #40acef;
/* SwiftUI */
Color(red: 0.251, green: 0.675, blue: 0.937)
/* Android */
Color.parseColor("#40acef")Accessibility — WCAG contrast
Aa
#40acef on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#40acef on black: 8.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green67.5%
Blue93.7%
CMYK percentages
Cyan73.2%
Magenta28.0%
Yellow0.0%
Key (black)6.3%
Color previews
#40acef text on a black background
contrast 8.37:1
Card sample
#40acef text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #40acef;
Background color
Panel with #40acef background
background-color: #40acef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #40acef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 172, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 172, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40acef; background: linear-gradient(135deg, #40acef, #4940EF);