#2d2cff
a balanced, electric blue · warm · closest name: blue
RGB
45, 44, 255
HSL
240°, 100%, 59%
CMYK
82, 83, 0, 0
Luminance
0.0958
Every format
| HEX | #2d2cff |
| RGB | rgb(45, 44, 255) |
| HSL | hsl(240, 100%, 59%) |
| CMYK | cmyk(82%, 83%, 0%, 0%) |
| LAB | lab(37.1 68.8 -99.9) |
| LCH | lch(37.1 121.3 304.6) |
| OKLCH | oklch(0.488 0.289 268.9) |
Copy-ready code
/* CSS */
color: #2d2cff;
background-color: #2d2cff;
/* Tailwind (arbitrary) */
class="text-[#2d2cff] bg-[#2d2cff]"
/* SCSS */
$brand: #2d2cff;
/* SwiftUI */
Color(red: 0.176, green: 0.173, blue: 1.000)
/* Android */
Color.parseColor("#2d2cff")Accessibility — WCAG contrast
Aa
#2d2cff on white: 7.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2d2cff on black: 2.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.6%
Green17.3%
Blue100.0%
CMYK percentages
Cyan82.4%
Magenta82.7%
Yellow0.0%
Key (black)0.0%
Color previews
#2d2cff text on a black background
contrast 2.92:1
Card sample
#2d2cff text on a white background
contrast 7.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2d2cff;
Background color
Panel with #2d2cff background
background-color: #2d2cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2d2cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(45, 44, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 44, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d2cff; background: linear-gradient(135deg, #2d2cff, #BA2CFF);