Skip to content

#1c2dfd

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

RGB
28, 45, 253
HSL
236°, 98%, 55%
CMYK
89, 82, 0, 1
Luminance
0.0922

Every format

HEX#1c2dfd
RGBrgb(28, 45, 253)
HSLhsl(236, 98%, 55%)
CMYKcmyk(89%, 82%, 0%, 1%)
LABlab(36.4 67.3 -99.9)
LCHlch(36.4 120.4 304.0)
OKLCHoklch(0.481 0.290 266.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1c2dfd on white: 7.39:1
AA ✓ pass · AA-large · AAA
Aa
#1c2dfd on black: 2.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red11.0%
Green17.6%
Blue99.2%

CMYK percentages

Cyan88.9%
Magenta82.2%
Yellow0.0%
Key (black)0.8%

Color previews

#1c2dfd text on a black background

contrast 2.84:1

Card sample

#1c2dfd text on a white background

contrast 7.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(28, 45, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(28, 45, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1c2dfd;
background: linear-gradient(135deg, #1c2dfd, #A11CFD);

Monochromatic scale

Palettes built from #1c2dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1c2dfd in the Color Lab