#6972db
a balanced, vivid blue · warm · closest name: royalblue
RGB
105, 114, 219
HSL
235°, 61%, 64%
CMYK
52, 48, 0, 14
Luminance
0.2015
Every format
| HEX | #6972db |
| RGB | rgb(105, 114, 219) |
| HSL | hsl(235, 61%, 64%) |
| CMYK | cmyk(52%, 48%, 0%, 14%) |
| LAB | lab(52.0 25.6 -55.0) |
| LCH | lch(52.0 60.7 295.0) |
| OKLCH | oklch(0.596 0.158 276.8) |
Copy-ready code
/* CSS */
color: #6972db;
background-color: #6972db;
/* Tailwind (arbitrary) */
class="text-[#6972db] bg-[#6972db]"
/* SCSS */
$brand: #6972db;
/* SwiftUI */
Color(red: 0.412, green: 0.447, blue: 0.859)
/* Android */
Color.parseColor("#6972db")Accessibility — WCAG contrast
Aa
#6972db on white: 4.17:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#6972db on black: 5.03:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red41.2%
Green44.7%
Blue85.9%
CMYK percentages
Cyan52.1%
Magenta47.9%
Yellow0.0%
Key (black)14.1%
Color previews
#6972db text on a black background
contrast 5.03:1
Card sample
#6972db text on a white background
contrast 4.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6972db;
Background color
Panel with #6972db background
background-color: #6972db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6972db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(105, 114, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(105, 114, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6972db; background: linear-gradient(135deg, #6972db, #AC69DB);