#2f8def
a balanced, electric blue · cool · closest name: dodgerblue
RGB
47, 141, 239
HSL
211°, 86%, 56%
CMYK
80, 41, 0, 6
Luminance
0.2589
Every format
| HEX | #2f8def |
| RGB | rgb(47, 141, 239) |
| HSL | hsl(211, 86%, 56%) |
| CMYK | cmyk(80%, 41%, 0%, 6%) |
| LAB | lab(57.9 7.0 -56.9) |
| LCH | lch(57.9 57.3 277.1) |
| OKLCH | oklch(0.639 0.170 253.1) |
Copy-ready code
/* CSS */
color: #2f8def;
background-color: #2f8def;
/* Tailwind (arbitrary) */
class="text-[#2f8def] bg-[#2f8def]"
/* SCSS */
$brand: #2f8def;
/* SwiftUI */
Color(red: 0.184, green: 0.553, blue: 0.937)
/* Android */
Color.parseColor("#2f8def")Accessibility — WCAG contrast
Aa
#2f8def on white: 3.40:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#2f8def on black: 6.18:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.4%
Green55.3%
Blue93.7%
CMYK percentages
Cyan80.3%
Magenta41.0%
Yellow0.0%
Key (black)6.3%
Color previews
#2f8def text on a black background
contrast 6.18:1
Card sample
#2f8def text on a white background
contrast 3.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2f8def;
Background color
Panel with #2f8def background
background-color: #2f8def;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2f8def;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(47, 141, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 141, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f8def; background: linear-gradient(135deg, #2f8def, #512FEF);