Skip to content

#1a2dfd

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

RGB
26, 45, 253
HSL
235°, 98%, 55%
CMYK
90, 82, 0, 1
Luminance
0.0919

Every format

HEX#1a2dfd
RGBrgb(26, 45, 253)
HSLhsl(235, 98%, 55%)
CMYKcmyk(90%, 82%, 0%, 1%)
LABlab(36.3 67.2 -100.0)
LCHlch(36.3 120.5 303.9)
OKLCHoklch(0.480 0.290 266.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red10.2%
Green17.6%
Blue99.2%

CMYK percentages

Cyan89.7%
Magenta82.2%
Yellow0.0%
Key (black)0.8%

Color previews

#1a2dfd text on a black background

contrast 2.84:1

Card sample

#1a2dfd text on a white background

contrast 7.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1a2dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1a2dfd in the Color Lab