#6874db
a balanced, vivid blue · warm · closest name: royalblue
RGB
104, 116, 219
HSL
234°, 62%, 63%
CMYK
53, 47, 0, 14
Luminance
0.2055
Every format
| HEX | #6874db |
| RGB | rgb(104, 116, 219) |
| HSL | hsl(234, 62%, 63%) |
| CMYK | cmyk(53%, 47%, 0%, 14%) |
| LAB | lab(52.5 24.2 -54.3) |
| LCH | lch(52.5 59.5 294.0) |
| OKLCH | oklch(0.599 0.155 275.7) |
Copy-ready code
/* CSS */
color: #6874db;
background-color: #6874db;
/* Tailwind (arbitrary) */
class="text-[#6874db] bg-[#6874db]"
/* SCSS */
$brand: #6874db;
/* SwiftUI */
Color(red: 0.408, green: 0.455, blue: 0.859)
/* Android */
Color.parseColor("#6874db")Accessibility — WCAG contrast
Aa
#6874db on white: 4.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#6874db on black: 5.11:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red40.8%
Green45.5%
Blue85.9%
CMYK percentages
Cyan52.5%
Magenta47.0%
Yellow0.0%
Key (black)14.1%
Color previews
#6874db text on a black background
contrast 5.11:1
Card sample
#6874db text on a white background
contrast 4.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6874db;
Background color
Panel with #6874db background
background-color: #6874db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6874db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(104, 116, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(104, 116, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6874db; background: linear-gradient(135deg, #6874db, #A968DB);