#4f4abc
a balanced, vivid blue · warm · closest name: slateblue
RGB
79, 74, 188
HSL
243°, 46%, 51%
CMYK
58, 61, 0, 26
Luminance
0.1019
Every format
| HEX | #4f4abc |
| RGB | rgb(79, 74, 188) |
| HSL | hsl(243, 46%, 51%) |
| CMYK | cmyk(58%, 61%, 0%, 26%) |
| LAB | lab(38.2 35.1 -59.6) |
| LCH | lch(38.2 69.2 300.5) |
| OKLCH | oklch(0.481 0.174 279.6) |
Copy-ready code
/* CSS */
color: #4f4abc;
background-color: #4f4abc;
/* Tailwind (arbitrary) */
class="text-[#4f4abc] bg-[#4f4abc]"
/* SCSS */
$brand: #4f4abc;
/* SwiftUI */
Color(red: 0.310, green: 0.290, blue: 0.737)
/* Android */
Color.parseColor("#4f4abc")Accessibility — WCAG contrast
Aa
#4f4abc on white: 6.91:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#4f4abc on black: 3.04:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.0%
Green29.0%
Blue73.7%
CMYK percentages
Cyan58.0%
Magenta60.6%
Yellow0.0%
Key (black)26.3%
Color previews
#4f4abc text on a black background
contrast 3.04:1
Card sample
#4f4abc text on a white background
contrast 6.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4f4abc;
Background color
Panel with #4f4abc background
background-color: #4f4abc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4f4abc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(79, 74, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 74, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f4abc; background: linear-gradient(135deg, #4f4abc, #9B4ABC);