Skip to content

#080fcc

a dark, electric blue · warm · closest name: blue

RGB
8, 15, 204
HSL
238°, 93%, 42%
CMYK
96, 93, 0, 20
Luminance
0.0475

Every format

HEX#080fcc
RGBrgb(8, 15, 204)
HSLhsl(238, 93%, 42%)
CMYKcmyk(96%, 93%, 0%, 20%)
LABlab(26.0 63.8 -89.2)
LCHlch(26.0 109.6 305.6)
OKLCHoklch(0.391 0.259 265.0)

Copy-ready code

/* CSS */
color: #080fcc;
background-color: #080fcc;
/* Tailwind (arbitrary) */
class="text-[#080fcc] bg-[#080fcc]"
/* SCSS */
$brand: #080fcc;
/* SwiftUI */
Color(red: 0.031, green: 0.059, blue: 0.800)
/* Android */
Color.parseColor("#080fcc")

Accessibility — WCAG contrast

Aa
#080fcc on white: 10.77:1
AA ✓ pass · AA-large · AAA
Aa
#080fcc on black: 1.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green5.9%
Blue80.0%

CMYK percentages

Cyan96.1%
Magenta92.6%
Yellow0.0%
Key (black)20.0%

Color previews

#080fcc text on a black background

contrast 1.95:1

Card sample

#080fcc text on a white background

contrast 10.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #080fcc;
Background color
Panel with #080fcc background
background-color: #080fcc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #080fcc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 15, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 15, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080fcc;
background: linear-gradient(135deg, #080fcc, #8408CC);

Monochromatic scale

Palettes built from #080fcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080fcc in the Color Lab