Skip to content

#3300ff

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

RGB
51, 0, 255
HSL
252°, 100%, 50%
CMYK
80, 100, 0, 0
Luminance
0.0792

Every format

HEX#3300ff
RGBrgb(51, 0, 255)
HSLhsl(252, 100%, 50%)
CMYKcmyk(80%, 100%, 0%, 0%)
LABlab(33.8 79.7 -105.3)
LCHlch(33.8 132.1 307.1)
OKLCHoklch(0.466 0.304 270.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3300ff on white: 8.12:1
AA ✓ pass · AA-large · AAA
Aa
#3300ff on black: 2.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.0%
Green0.0%
Blue100.0%

CMYK percentages

Cyan80.0%
Magenta100.0%
Yellow0.0%
Key (black)0.0%

Color previews

#3300ff text on a black background

contrast 2.58:1

Card sample

#3300ff text on a white background

contrast 8.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3300ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3300ff in the Color Lab