Skip to content

#2001ff

a balanced, electric blue · warm · “blue”

RGB
32, 1, 255
HSL
247°, 100%, 50%
CMYK
88, 100, 0, 0
Luminance
0.0755

Every format

HEX#2001ff
RGBrgb(32, 1, 255)
HSLhsl(247, 100%, 50%)
CMYKcmyk(88%, 100%, 0%, 0%)
LABlab(33.0 79.3 -106.6)
LCHlch(33.0 132.9 306.6)
OKLCHoklch(0.459 0.308 267.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2001ff on white: 8.37:1
AA ✓ pass · AA-large · AAA
Aa
#2001ff on black: 2.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green0.4%
Blue100.0%

CMYK percentages

Cyan87.5%
Magenta99.6%
Yellow0.0%
Key (black)0.0%

Color previews

#2001ff text on a black background

contrast 2.51:1

Card sample

#2001ff text on a white background

contrast 8.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2001ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2001ff in the Color Lab