#6c7cdf
a balanced, vivid blue · warm · closest name: royalblue
RGB
108, 124, 223
HSL
232°, 64%, 65%
CMYK
52, 44, 0, 13
Luminance
0.2293
Every format
| HEX | #6c7cdf |
| RGB | rgb(108, 124, 223) |
| HSL | hsl(232, 64%, 65%) |
| CMYK | cmyk(52%, 44%, 0%, 13%) |
| LAB | lab(55.0 21.5 -52.5) |
| LCH | lch(55.0 56.7 292.2) |
| OKLCH | oklch(0.620 0.150 274.3) |
Copy-ready code
/* CSS */
color: #6c7cdf;
background-color: #6c7cdf;
/* Tailwind (arbitrary) */
class="text-[#6c7cdf] bg-[#6c7cdf]"
/* SCSS */
$brand: #6c7cdf;
/* SwiftUI */
Color(red: 0.424, green: 0.486, blue: 0.875)
/* Android */
Color.parseColor("#6c7cdf")Accessibility — WCAG contrast
Aa
#6c7cdf on white: 3.76:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#6c7cdf on black: 5.59:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red42.4%
Green48.6%
Blue87.5%
CMYK percentages
Cyan51.6%
Magenta44.4%
Yellow0.0%
Key (black)12.5%
Color previews
#6c7cdf text on a black background
contrast 5.59:1
Card sample
#6c7cdf text on a white background
contrast 3.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6c7cdf;
Background color
Panel with #6c7cdf background
background-color: #6c7cdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6c7cdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(108, 124, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 124, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c7cdf; background: linear-gradient(135deg, #6c7cdf, #A96CDF);