Skip to content

#2d26df

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

RGB
45, 38, 223
HSL
242°, 74%, 51%
CMYK
80, 83, 0, 13
Luminance
0.0727

Every format

HEX#2d26df
RGBrgb(45, 38, 223)
HSLhsl(242, 74%, 51%)
CMYKcmyk(80%, 83%, 0%, 13%)
LABlab(32.4 62.1 -89.5)
LCHlch(32.4 108.9 304.7)
OKLCHoklch(0.445 0.259 270.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d26df on white: 8.56:1
AA ✓ pass · AA-large · AAA
Aa
#2d26df on black: 2.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green14.9%
Blue87.5%

CMYK percentages

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

Color previews

#2d26df text on a black background

contrast 2.45:1

Card sample

#2d26df text on a white background

contrast 8.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d26df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d26df in the Color Lab