#2c2eff
a balanced, electric blue · warm · closest name: blue
RGB
44, 46, 255
HSL
239°, 100%, 59%
CMYK
83, 82, 0, 0
Luminance
0.0971
Every format
| HEX | #2c2eff |
| RGB | rgb(44, 46, 255) |
| HSL | hsl(239, 100%, 59%) |
| CMYK | cmyk(83%, 82%, 0%, 0%) |
| LAB | lab(37.3 67.9 -99.5) |
| LCH | lch(37.3 120.4 304.3) |
| OKLCH | oklch(0.489 0.288 268.7) |
Copy-ready code
/* CSS */
color: #2c2eff;
background-color: #2c2eff;
/* Tailwind (arbitrary) */
class="text-[#2c2eff] bg-[#2c2eff]"
/* SCSS */
$brand: #2c2eff;
/* SwiftUI */
Color(red: 0.173, green: 0.180, blue: 1.000)
/* Android */
Color.parseColor("#2c2eff")Accessibility — WCAG contrast
Aa
#2c2eff on white: 7.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2c2eff on black: 2.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.3%
Green18.0%
Blue100.0%
CMYK percentages
Cyan82.7%
Magenta82.0%
Yellow0.0%
Key (black)0.0%
Color previews
#2c2eff text on a black background
contrast 2.94:1
Card sample
#2c2eff text on a white background
contrast 7.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2c2eff;
Background color
Panel with #2c2eff background
background-color: #2c2eff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2c2eff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(44, 46, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 46, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c2eff; background: linear-gradient(135deg, #2c2eff, #B72CFF);