Skip to content

#2d2edf

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

RGB
45, 46, 223
HSL
240°, 74%, 53%
CMYK
80, 79, 0, 13
Luminance
0.0784

Every format

HEX#2d2edf
RGBrgb(45, 46, 223)
HSLhsl(240, 74%, 53%)
CMYKcmyk(80%, 79%, 0%, 13%)
LABlab(33.6 58.5 -87.4)
LCHlch(33.6 105.2 303.8)
OKLCHoklch(0.453 0.253 270.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d2edf on white: 8.18:1
AA ✓ pass · AA-large · AAA
Aa
#2d2edf on black: 2.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green18.0%
Blue87.5%

CMYK percentages

Cyan79.8%
Magenta79.4%
Yellow0.0%
Key (black)12.5%

Color previews

#2d2edf text on a black background

contrast 2.57:1

Card sample

#2d2edf text on a white background

contrast 8.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d2edf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d2edf in the Color Lab