Skip to content

#1d2cfb

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

RGB
29, 44, 251
HSL
236°, 97%, 55%
CMYK
88, 83, 0, 2
Luminance
0.0903

Every format

HEX#1d2cfb
RGBrgb(29, 44, 251)
HSLhsl(236, 97%, 55%)
CMYKcmyk(88%, 83%, 0%, 2%)
LABlab(36.0 67.1 -99.4)
LCHlch(36.0 119.9 304.0)
OKLCHoklch(0.478 0.288 266.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1d2cfb on white: 7.49:1
AA ✓ pass · AA-large · AAA
Aa
#1d2cfb on black: 2.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red11.4%
Green17.3%
Blue98.4%

CMYK percentages

Cyan88.4%
Magenta82.5%
Yellow0.0%
Key (black)1.6%

Color previews

#1d2cfb text on a black background

contrast 2.81:1

Card sample

#1d2cfb text on a white background

contrast 7.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(29, 44, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 44, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1d2cfb;
background: linear-gradient(135deg, #1d2cfb, #A21DFB);

Monochromatic scale

Palettes built from #1d2cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1d2cfb in the Color Lab