#6972df
a balanced, vivid blue · warm · closest name: royalblue
RGB
105, 114, 223
HSL
235°, 65%, 64%
CMYK
53, 49, 0, 13
Luminance
0.2037
Every format
| HEX | #6972df |
| RGB | rgb(105, 114, 223) |
| HSL | hsl(235, 65%, 64%) |
| CMYK | cmyk(53%, 49%, 0%, 13%) |
| LAB | lab(52.3 26.9 -56.9) |
| LCH | lch(52.3 62.9 295.3) |
| OKLCH | oklch(0.599 0.163 276.7) |
Copy-ready code
/* CSS */
color: #6972df;
background-color: #6972df;
/* Tailwind (arbitrary) */
class="text-[#6972df] bg-[#6972df]"
/* SCSS */
$brand: #6972df;
/* SwiftUI */
Color(red: 0.412, green: 0.447, blue: 0.875)
/* Android */
Color.parseColor("#6972df")Accessibility — WCAG contrast
Aa
#6972df on white: 4.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#6972df on black: 5.07:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red41.2%
Green44.7%
Blue87.5%
CMYK percentages
Cyan52.9%
Magenta48.9%
Yellow0.0%
Key (black)12.5%
Color previews
#6972df text on a black background
contrast 5.07:1
Card sample
#6972df text on a white background
contrast 4.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6972df;
Background color
Panel with #6972df background
background-color: #6972df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6972df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(105, 114, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(105, 114, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6972df; background: linear-gradient(135deg, #6972df, #AF69DF);