#0fa2fd
a balanced, electric blue · cool · closest name: dodgerblue
RGB
15, 162, 253
HSL
203°, 98%, 53%
CMYK
94, 36, 0, 1
Luminance
0.3303
Every format
| HEX | #0fa2fd |
| RGB | rgb(15, 162, 253) |
| HSL | hsl(203, 98%, 53%) |
| CMYK | cmyk(94%, 36%, 0%, 1%) |
| LAB | lab(64.2 -2.0 -54.6) |
| LCH | lch(64.2 54.7 267.9) |
| OKLCH | oklch(0.689 0.172 245.4) |
Copy-ready code
/* CSS */
color: #0fa2fd;
background-color: #0fa2fd;
/* Tailwind (arbitrary) */
class="text-[#0fa2fd] bg-[#0fa2fd]"
/* SCSS */
$brand: #0fa2fd;
/* SwiftUI */
Color(red: 0.059, green: 0.635, blue: 0.992)
/* Android */
Color.parseColor("#0fa2fd")Accessibility — WCAG contrast
Aa
#0fa2fd on white: 2.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0fa2fd on black: 7.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green63.5%
Blue99.2%
CMYK percentages
Cyan94.1%
Magenta36.0%
Yellow0.0%
Key (black)0.8%
Color previews
#0fa2fd text on a black background
contrast 7.61:1
Card sample
#0fa2fd text on a white background
contrast 2.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0fa2fd;
Background color
Panel with #0fa2fd background
background-color: #0fa2fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0fa2fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 162, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 162, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0fa2fd; background: linear-gradient(135deg, #0fa2fd, #1A0FFD);