Skip to content

#2f00dd

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

RGB
47, 0, 221
HSL
253°, 100%, 43%
CMYK
79, 100, 0, 13
Luminance
0.0582

Every format

HEX#2f00dd
RGBrgb(47, 0, 221)
HSLhsl(253, 100%, 43%)
CMYKcmyk(79%, 100%, 0%, 13%)
LABlab(29.0 71.6 -94.1)
LCHlch(29.0 118.2 307.3)
OKLCHoklch(0.421 0.272 271.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f00dd on white: 9.70:1
AA ✓ pass · AA-large · AAA
Aa
#2f00dd on black: 2.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green0.0%
Blue86.7%

CMYK percentages

Cyan78.7%
Magenta100.0%
Yellow0.0%
Key (black)13.3%

Color previews

#2f00dd text on a black background

contrast 2.16:1

Card sample

#2f00dd text on a white background

contrast 9.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2f00dd;
Background color
Panel with #2f00dd background
background-color: #2f00dd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 0, 221, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 0, 221, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f00dd;
background: linear-gradient(135deg, #2f00dd, #C200DD);

Monochromatic scale

Palettes built from #2f00dd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f00dd in the Color Lab