Skip to content

#0011ff

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

RGB
0, 17, 255
HSL
236°, 100%, 50%
CMYK
100, 93, 0, 0
Luminance
0.0762

Every format

HEX#0011ff
RGBrgb(0, 17, 255)
HSLhsl(236, 100%, 50%)
CMYKcmyk(100%, 93%, 0%, 0%)
LABlab(33.2 76.5 -106.4)
LCHlch(33.2 131.0 305.7)
OKLCHoklch(0.458 0.309 264.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0011ff on white: 8.32:1
AA ✓ pass · AA-large · AAA
Aa
#0011ff on black: 2.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green6.7%
Blue100.0%

CMYK percentages

Cyan100.0%
Magenta93.3%
Yellow0.0%
Key (black)0.0%

Color previews

#0011ff text on a black background

contrast 2.52:1

Card sample

#0011ff text on a white background

contrast 8.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0011ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0011ff in the Color Lab