#2975ff
a balanced, electric blue · cool · closest name: royalblue
RGB
41, 117, 255
HSL
219°, 100%, 58%
CMYK
84, 54, 0, 0
Luminance
0.2041
Every format
| HEX | #2975ff |
| RGB | rgb(41, 117, 255) |
| HSL | hsl(219, 100%, 58%) |
| CMYK | cmyk(84%, 54%, 0%, 0%) |
| LAB | lab(52.3 27.3 -74.8) |
| LCH | lch(52.3 79.7 290.1) |
| OKLCH | oklch(0.598 0.219 261.2) |
Copy-ready code
/* CSS */
color: #2975ff;
background-color: #2975ff;
/* Tailwind (arbitrary) */
class="text-[#2975ff] bg-[#2975ff]"
/* SCSS */
$brand: #2975ff;
/* SwiftUI */
Color(red: 0.161, green: 0.459, blue: 1.000)
/* Android */
Color.parseColor("#2975ff")Accessibility — WCAG contrast
Aa
#2975ff on white: 4.13:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#2975ff on black: 5.08:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.1%
Green45.9%
Blue100.0%
CMYK percentages
Cyan83.9%
Magenta54.1%
Yellow0.0%
Key (black)0.0%
Color previews
#2975ff text on a black background
contrast 5.08:1
Card sample
#2975ff text on a white background
contrast 4.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2975ff;
Background color
Panel with #2975ff background
background-color: #2975ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2975ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(41, 117, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 117, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2975ff; background: linear-gradient(135deg, #2975ff, #6C29FF);