#309cff
a balanced, electric blue · cool · closest name: dodgerblue
RGB
48, 156, 255
HSL
209°, 100%, 59%
CMYK
81, 39, 0, 0
Luminance
0.3163
Every format
| HEX | #309cff |
| RGB | rgb(48, 156, 255) |
| HSL | hsl(209, 100%, 59%) |
| CMYK | cmyk(81%, 39%, 0%, 0%) |
| LAB | lab(63.0 4.1 -57.5) |
| LCH | lch(63.0 57.7 274.1) |
| OKLCH | oklch(0.681 0.174 250.7) |
Copy-ready code
/* CSS */
color: #309cff;
background-color: #309cff;
/* Tailwind (arbitrary) */
class="text-[#309cff] bg-[#309cff]"
/* SCSS */
$brand: #309cff;
/* SwiftUI */
Color(red: 0.188, green: 0.612, blue: 1.000)
/* Android */
Color.parseColor("#309cff")Accessibility — WCAG contrast
Aa
#309cff on white: 2.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#309cff on black: 7.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green61.2%
Blue100.0%
CMYK percentages
Cyan81.2%
Magenta38.8%
Yellow0.0%
Key (black)0.0%
Color previews
#309cff text on a black background
contrast 7.33:1
Card sample
#309cff text on a white background
contrast 2.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #309cff;
Background color
Panel with #309cff background
background-color: #309cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #309cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 156, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 156, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #309cff; background: linear-gradient(135deg, #309cff, #4E30FF);