#2c31fd
a balanced, electric blue · warm · closest name: blue
RGB
44, 49, 253
HSL
239°, 98%, 58%
CMYK
83, 81, 0, 1
Luminance
0.0982
Every format
| HEX | #2c31fd |
| RGB | rgb(44, 49, 253) |
| HSL | hsl(239, 98%, 58%) |
| CMYK | cmyk(83%, 81%, 0%, 1%) |
| LAB | lab(37.5 66.0 -98.0) |
| LCH | lch(37.5 118.2 304.0) |
| OKLCH | oklch(0.490 0.284 268.7) |
Copy-ready code
/* CSS */
color: #2c31fd;
background-color: #2c31fd;
/* Tailwind (arbitrary) */
class="text-[#2c31fd] bg-[#2c31fd]"
/* SCSS */
$brand: #2c31fd;
/* SwiftUI */
Color(red: 0.173, green: 0.192, blue: 0.992)
/* Android */
Color.parseColor("#2c31fd")Accessibility — WCAG contrast
Aa
#2c31fd on white: 7.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2c31fd on black: 2.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.3%
Green19.2%
Blue99.2%
CMYK percentages
Cyan82.6%
Magenta80.6%
Yellow0.0%
Key (black)0.8%
Color previews
#2c31fd text on a black background
contrast 2.96:1
Card sample
#2c31fd text on a white background
contrast 7.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2c31fd;
Background color
Panel with #2c31fd background
background-color: #2c31fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2c31fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(44, 49, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 49, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c31fd; background: linear-gradient(135deg, #2c31fd, #B22CFD);