#2c59cd
a balanced, vivid blue · cool · closest name: royalblue
RGB
44, 89, 205
HSL
223°, 65%, 49%
CMYK
79, 57, 0, 20
Luminance
0.1209
Every format
| HEX | #2c59cd |
| RGB | rgb(44, 89, 205) |
| HSL | hsl(223, 65%, 49%) |
| CMYK | cmyk(79%, 57%, 0%, 20%) |
| LAB | lab(41.4 26.7 -64.4) |
| LCH | lch(41.4 69.7 292.5) |
| OKLCH | oklch(0.504 0.187 264.5) |
Copy-ready code
/* CSS */
color: #2c59cd;
background-color: #2c59cd;
/* Tailwind (arbitrary) */
class="text-[#2c59cd] bg-[#2c59cd]"
/* SCSS */
$brand: #2c59cd;
/* SwiftUI */
Color(red: 0.173, green: 0.349, blue: 0.804)
/* Android */
Color.parseColor("#2c59cd")Accessibility — WCAG contrast
Aa
#2c59cd on white: 6.14:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#2c59cd on black: 3.42:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.3%
Green34.9%
Blue80.4%
CMYK percentages
Cyan78.5%
Magenta56.6%
Yellow0.0%
Key (black)19.6%
Color previews
#2c59cd text on a black background
contrast 3.42:1
Card sample
#2c59cd text on a white background
contrast 6.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2c59cd;
Background color
Panel with #2c59cd background
background-color: #2c59cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2c59cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(44, 89, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 89, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c59cd; background: linear-gradient(135deg, #2c59cd, #6A2CCD);