Skip to content

#2d00df

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

RGB
45, 0, 223
HSL
252°, 100%, 44%
CMYK
80, 100, 0, 13
Luminance
0.0589

Every format

HEX#2d00df
RGBrgb(45, 0, 223)
HSLhsl(252, 100%, 44%)
CMYKcmyk(80%, 100%, 0%, 13%)
LABlab(29.1 72.1 -95.0)
LCHlch(29.1 119.2 307.2)
OKLCHoklch(0.422 0.274 271.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d00df on white: 9.65:1
AA ✓ pass · AA-large · AAA
Aa
#2d00df on black: 2.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green0.0%
Blue87.5%

CMYK percentages

Cyan79.8%
Magenta100.0%
Yellow0.0%
Key (black)12.5%

Color previews

#2d00df text on a black background

contrast 2.18:1

Card sample

#2d00df text on a white background

contrast 9.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d00df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d00df in the Color Lab