Skip to content

#0800ff

a balanced, electric blue · warm · “blue”

RGB
8, 0, 255
HSL
242°, 100%, 50%
CMYK
97, 100, 0, 0
Luminance
0.0727

Every format

HEX#0800ff
RGBrgb(8, 0, 255)
HSLhsl(242, 100%, 50%)
CMYKcmyk(97%, 100%, 0%, 0%)
LABlab(32.4 79.2 -107.7)
LCHlch(32.4 133.7 306.3)
OKLCHoklch(0.453 0.312 264.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0800ff on white: 8.56:1
AA ✓ pass · AA-large · AAA
Aa
#0800ff on black: 2.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green0.0%
Blue100.0%

CMYK percentages

Cyan96.9%
Magenta100.0%
Yellow0.0%
Key (black)0.0%

Color previews

#0800ff text on a black background

contrast 2.45:1

Card sample

#0800ff text on a white background

contrast 8.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0800ff;
Background color
Panel with #0800ff background
background-color: #0800ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0800ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 0, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 0, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0800ff;
background: linear-gradient(135deg, #0800ff, #B200FF);

Monochromatic scale

Palettes built from #0800ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0800ff in the Color Lab