Skip to content

#2d3fdc

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

RGB
45, 63, 220
HSL
234°, 71%, 52%
CMYK
80, 71, 0, 14
Luminance
0.0928

Every format

HEX#2d3fdc
RGBrgb(45, 63, 220)
HSLhsl(234, 71%, 52%)
CMYKcmyk(80%, 71%, 0%, 14%)
LABlab(36.5 48.4 -81.0)
LCHlch(36.5 94.3 300.9)
OKLCHoklch(0.473 0.235 269.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d3fdc on white: 7.35:1
AA ✓ pass · AA-large · AAA
Aa
#2d3fdc on black: 2.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green24.7%
Blue86.3%

CMYK percentages

Cyan79.5%
Magenta71.4%
Yellow0.0%
Key (black)13.7%

Color previews

#2d3fdc text on a black background

contrast 2.86:1

Card sample

#2d3fdc text on a white background

contrast 7.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 63, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 63, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d3fdc;
background: linear-gradient(135deg, #2d3fdc, #902DDC);

Monochromatic scale

Palettes built from #2d3fdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d3fdc in the Color Lab