#0700cc
a dark, electric blue · warm · closest name: blue
RGB
7, 0, 204
HSL
242°, 100%, 40%
CMYK
97, 100, 0, 20
Luminance
0.0440
Every format
| HEX | #0700cc |
| RGB | rgb(7, 0, 204) |
| HSL | hsl(242, 100%, 40%) |
| CMYK | cmyk(97%, 100%, 0%, 20%) |
| LAB | lab(25.0 67.0 -90.9) |
| LCH | lch(25.0 112.9 306.4) |
| OKLCH | oklch(0.383 0.264 264.8) |
Copy-ready code
/* CSS */
color: #0700cc;
background-color: #0700cc;
/* Tailwind (arbitrary) */
class="text-[#0700cc] bg-[#0700cc]"
/* SCSS */
$brand: #0700cc;
/* SwiftUI */
Color(red: 0.027, green: 0.000, blue: 0.800)
/* Android */
Color.parseColor("#0700cc")Accessibility — WCAG contrast
Aa
#0700cc on white: 11.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0700cc on black: 1.88:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.7%
Green0.0%
Blue80.0%
CMYK percentages
Cyan96.6%
Magenta100.0%
Yellow0.0%
Key (black)20.0%
Color previews
#0700cc text on a black background
contrast 1.88:1
Card sample
#0700cc text on a white background
contrast 11.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0700cc;
Background color
Panel with #0700cc background
background-color: #0700cc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0700cc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(7, 0, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 0, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0700cc; background: linear-gradient(135deg, #0700cc, #8F00CC);