#2f63ba
a balanced, vivid blue · cool · closest name: royalblue
RGB
47, 99, 186
HSL
218°, 60%, 46%
CMYK
75, 47, 0, 27
Luminance
0.1307
Every format
| HEX | #2f63ba |
| RGB | rgb(47, 99, 186) |
| HSL | hsl(218, 60%, 46%) |
| CMYK | cmyk(75%, 47%, 0%, 27%) |
| LAB | lab(42.9 13.4 -50.9) |
| LCH | lch(42.9 52.7 284.7) |
| OKLCH | oklch(0.512 0.148 260.1) |
Copy-ready code
/* CSS */
color: #2f63ba;
background-color: #2f63ba;
/* Tailwind (arbitrary) */
class="text-[#2f63ba] bg-[#2f63ba]"
/* SCSS */
$brand: #2f63ba;
/* SwiftUI */
Color(red: 0.184, green: 0.388, blue: 0.729)
/* Android */
Color.parseColor("#2f63ba")Accessibility — WCAG contrast
Aa
#2f63ba on white: 5.81:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#2f63ba on black: 3.61:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.4%
Green38.8%
Blue72.9%
CMYK percentages
Cyan74.7%
Magenta46.8%
Yellow0.0%
Key (black)27.1%
Color previews
#2f63ba text on a black background
contrast 3.61:1
Card sample
#2f63ba text on a white background
contrast 5.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2f63ba;
Background color
Panel with #2f63ba background
background-color: #2f63ba;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2f63ba;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(47, 99, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 99, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f63ba; background: linear-gradient(135deg, #2f63ba, #582FBA);