#288df4
a balanced, electric blue · cool · closest name: dodgerblue
RGB
40, 141, 244
HSL
210°, 90%, 56%
CMYK
84, 42, 0, 4
Luminance
0.2603
Every format
| HEX | #288df4 |
| RGB | rgb(40, 141, 244) |
| HSL | hsl(210, 90%, 56%) |
| CMYK | cmyk(84%, 42%, 0%, 4%) |
| LAB | lab(58.1 8.3 -59.4) |
| LCH | lch(58.1 60.0 278.0) |
| OKLCH | oklch(0.640 0.178 253.2) |
Copy-ready code
/* CSS */
color: #288df4;
background-color: #288df4;
/* Tailwind (arbitrary) */
class="text-[#288df4] bg-[#288df4]"
/* SCSS */
$brand: #288df4;
/* SwiftUI */
Color(red: 0.157, green: 0.553, blue: 0.957)
/* Android */
Color.parseColor("#288df4")Accessibility — WCAG contrast
Aa
#288df4 on white: 3.38:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#288df4 on black: 6.21:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green55.3%
Blue95.7%
CMYK percentages
Cyan83.6%
Magenta42.2%
Yellow0.0%
Key (black)4.3%
Color previews
#288df4 text on a black background
contrast 6.21:1
Card sample
#288df4 text on a white background
contrast 3.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #288df4;
Background color
Panel with #288df4 background
background-color: #288df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #288df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 141, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 141, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #288df4; background: linear-gradient(135deg, #288df4, #4B28F4);