#0874ce
a dark, electric blue · cool · closest name: dodgerblue
RGB
8, 116, 206
HSL
207°, 93%, 42%
CMYK
96, 44, 0, 19
Luminance
0.1700
Every format
| HEX | #0874ce |
| RGB | rgb(8, 116, 206) |
| HSL | hsl(207, 93%, 42%) |
| CMYK | cmyk(96%, 44%, 0%, 19%) |
| LAB | lab(48.3 7.4 -53.9) |
| LCH | lch(48.3 54.4 277.8) |
| OKLCH | oklch(0.555 0.163 251.9) |
Copy-ready code
/* CSS */
color: #0874ce;
background-color: #0874ce;
/* Tailwind (arbitrary) */
class="text-[#0874ce] bg-[#0874ce]"
/* SCSS */
$brand: #0874ce;
/* SwiftUI */
Color(red: 0.031, green: 0.455, blue: 0.808)
/* Android */
Color.parseColor("#0874ce")Accessibility — WCAG contrast
Aa
#0874ce on white: 4.77:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0874ce on black: 4.40:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green45.5%
Blue80.8%
CMYK percentages
Cyan96.1%
Magenta43.7%
Yellow0.0%
Key (black)19.2%
Color previews
#0874ce text on a black background
contrast 4.40:1
Card sample
#0874ce text on a white background
contrast 4.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0874ce;
Background color
Panel with #0874ce background
background-color: #0874ce;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0874ce;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 116, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 116, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0874ce; background: linear-gradient(135deg, #0874ce, #2008CE);