#7989eb
a light, vivid blue · warm · closest name: dodgerblue
RGB
121, 137, 235
HSL
232°, 74%, 70%
CMYK
49, 42, 0, 8
Luminance
0.2795
Every format
| HEX | #7989eb |
| RGB | rgb(121, 137, 235) |
| HSL | hsl(232, 74%, 70%) |
| CMYK | cmyk(49%, 42%, 0%, 8%) |
| LAB | lab(59.9 20.3 -51.4) |
| LCH | lch(59.9 55.3 291.5) |
| OKLCH | oklch(0.661 0.146 274.7) |
Copy-ready code
/* CSS */
color: #7989eb;
background-color: #7989eb;
/* Tailwind (arbitrary) */
class="text-[#7989eb] bg-[#7989eb]"
/* SCSS */
$brand: #7989eb;
/* SwiftUI */
Color(red: 0.475, green: 0.537, blue: 0.922)
/* Android */
Color.parseColor("#7989eb")Accessibility — WCAG contrast
Aa
#7989eb on white: 3.19:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#7989eb on black: 6.59:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red47.5%
Green53.7%
Blue92.2%
CMYK percentages
Cyan48.5%
Magenta41.7%
Yellow0.0%
Key (black)7.8%
Color previews
#7989eb text on a black background
contrast 6.59:1
Card sample
#7989eb text on a white background
contrast 3.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7989eb;
Background color
Panel with #7989eb background
background-color: #7989eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7989eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(121, 137, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 137, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7989eb; background: linear-gradient(135deg, #7989eb, #B579EB);