#008cf2
a balanced, electric blue · cool · closest name: dodgerblue
RGB
0, 140, 242
HSL
205°, 100%, 48%
CMYK
100, 42, 0, 5
Luminance
0.2517
Every format
| HEX | #008cf2 |
| RGB | rgb(0, 140, 242) |
| HSL | hsl(205, 100%, 48%) |
| CMYK | cmyk(100%, 42%, 0%, 5%) |
| LAB | lab(57.2 6.4 -59.7) |
| LCH | lch(57.2 60.0 276.1) |
| OKLCH | oklch(0.632 0.182 250.6) |
Copy-ready code
/* CSS */
color: #008cf2;
background-color: #008cf2;
/* Tailwind (arbitrary) */
class="text-[#008cf2] bg-[#008cf2]"
/* SCSS */
$brand: #008cf2;
/* SwiftUI */
Color(red: 0.000, green: 0.549, blue: 0.949)
/* Android */
Color.parseColor("#008cf2")Accessibility — WCAG contrast
Aa
#008cf2 on white: 3.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#008cf2 on black: 6.03:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green54.9%
Blue94.9%
CMYK percentages
Cyan100.0%
Magenta42.1%
Yellow0.0%
Key (black)5.1%
Color previews
#008cf2 text on a black background
contrast 6.03:1
Card sample
#008cf2 text on a white background
contrast 3.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #008cf2;
Background color
Panel with #008cf2 background
background-color: #008cf2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #008cf2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 140, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 140, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #008cf2; background: linear-gradient(135deg, #008cf2, #1500F2);