#003afb
a balanced, electric blue · warm · closest name: blue
RGB
0, 58, 251
HSL
226°, 100%, 49%
CMYK
100, 77, 0, 2
Luminance
0.0999
Every format
| HEX | #003afb |
| RGB | rgb(0, 58, 251) |
| HSL | hsl(226, 100%, 49%) |
| CMYK | cmyk(100%, 77%, 0%, 2%) |
| LAB | lab(37.8 60.0 -96.4) |
| LCH | lch(37.8 113.5 301.9) |
| OKLCH | oklch(0.489 0.281 264.0) |
Copy-ready code
/* CSS */
color: #003afb;
background-color: #003afb;
/* Tailwind (arbitrary) */
class="text-[#003afb] bg-[#003afb]"
/* SCSS */
$brand: #003afb;
/* SwiftUI */
Color(red: 0.000, green: 0.227, blue: 0.984)
/* Android */
Color.parseColor("#003afb")Accessibility — WCAG contrast
Aa
#003afb on white: 7.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#003afb on black: 3.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green22.7%
Blue98.4%
CMYK percentages
Cyan100.0%
Magenta76.9%
Yellow0.0%
Key (black)1.6%
Color previews
#003afb text on a black background
contrast 3.00:1
Card sample
#003afb text on a white background
contrast 7.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #003afb;
Background color
Panel with #003afb background
background-color: #003afb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #003afb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 58, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 58, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #003afb; background: linear-gradient(135deg, #003afb, #6D00FB);