Skip to content

#2d4ce2

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

RGB
45, 76, 226
HSL
230°, 76%, 53%
CMYK
80, 66, 0, 11
Luminance
0.1122

Every format

HEX#2d4ce2
RGBrgb(45, 76, 226)
HSLhsl(230, 76%, 53%)
CMYKcmyk(80%, 66%, 0%, 11%)
LABlab(39.9 42.7 -78.7)
LCHlch(39.9 89.6 298.5)
OKLCHoklch(0.499 0.228 267.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d4ce2 on white: 6.47:1
AA ✓ pass · AA-large · AAA
Aa
#2d4ce2 on black: 3.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green29.8%
Blue88.6%

CMYK percentages

Cyan80.1%
Magenta66.4%
Yellow0.0%
Key (black)11.4%

Color previews

#2d4ce2 text on a black background

contrast 3.24:1

Card sample

#2d4ce2 text on a white background

contrast 6.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 76, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 76, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d4ce2;
background: linear-gradient(135deg, #2d4ce2, #862DE2);

Monochromatic scale

Palettes built from #2d4ce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d4ce2 in the Color Lab