#288afd
a balanced, electric blue · cool · closest name: dodgerblue
RGB
40, 138, 253
HSL
212°, 98%, 58%
CMYK
84, 46, 0, 1
Luminance
0.2572
Every format
| HEX | #288afd |
| RGB | rgb(40, 138, 253) |
| HSL | hsl(212, 98%, 58%) |
| CMYK | cmyk(84%, 46%, 0%, 1%) |
| LAB | lab(57.8 13.5 -64.9) |
| LCH | lch(57.8 66.3 281.7) |
| OKLCH | oklch(0.640 0.192 255.7) |
Copy-ready code
/* CSS */
color: #288afd;
background-color: #288afd;
/* Tailwind (arbitrary) */
class="text-[#288afd] bg-[#288afd]"
/* SCSS */
$brand: #288afd;
/* SwiftUI */
Color(red: 0.157, green: 0.541, blue: 0.992)
/* Android */
Color.parseColor("#288afd")Accessibility — WCAG contrast
Aa
#288afd on white: 3.42:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#288afd on black: 6.14:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green54.1%
Blue99.2%
CMYK percentages
Cyan84.2%
Magenta45.5%
Yellow0.0%
Key (black)0.8%
Color previews
#288afd text on a black background
contrast 6.14:1
Card sample
#288afd text on a white background
contrast 3.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #288afd;
Background color
Panel with #288afd background
background-color: #288afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #288afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 138, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 138, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #288afd; background: linear-gradient(135deg, #288afd, #5428FD);