Skip to content

#1d0fd2

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

RGB
29, 15, 210
HSL
244°, 87%, 44%
CMYK
86, 93, 0, 18
Luminance
0.0526

Every format

HEX#1d0fd2
RGBrgb(29, 15, 210)
HSLhsl(244, 87%, 44%)
CMYKcmyk(86%, 93%, 0%, 18%)
LABlab(27.4 65.7 -90.3)
LCHlch(27.4 111.6 306.0)
OKLCHoklch(0.404 0.261 268.0)

Copy-ready code

/* CSS */
color: #1d0fd2;
background-color: #1d0fd2;
/* Tailwind (arbitrary) */
class="text-[#1d0fd2] bg-[#1d0fd2]"
/* SCSS */
$brand: #1d0fd2;
/* SwiftUI */
Color(red: 0.114, green: 0.059, blue: 0.824)
/* Android */
Color.parseColor("#1d0fd2")

Accessibility — WCAG contrast

Aa
#1d0fd2 on white: 10.24:1
AA ✓ pass · AA-large · AAA
Aa
#1d0fd2 on black: 2.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red11.4%
Green5.9%
Blue82.4%

CMYK percentages

Cyan86.2%
Magenta92.9%
Yellow0.0%
Key (black)17.6%

Color previews

#1d0fd2 text on a black background

contrast 2.05:1

Card sample

#1d0fd2 text on a white background

contrast 10.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1d0fd2;
Background color
Panel with #1d0fd2 background
background-color: #1d0fd2;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(29, 15, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 15, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1d0fd2;
background: linear-gradient(135deg, #1d0fd2, #9F0FD2);

Monochromatic scale

Palettes built from #1d0fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1d0fd2 in the Color Lab