Skip to content

#2c4ada

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

RGB
44, 74, 218
HSL
230°, 70%, 51%
CMYK
80, 66, 0, 15
Luminance
0.1049

Every format

HEX#2c4ada
RGBrgb(44, 74, 218)
HSLhsl(230, 70%, 51%)
CMYKcmyk(80%, 66%, 0%, 15%)
LABlab(38.7 41.0 -76.2)
LCHlch(38.7 86.5 298.3)
OKLCHoklch(0.488 0.221 267.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c4ada on white: 6.78:1
AA ✓ pass · AA-large · AAA
Aa
#2c4ada on black: 3.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green29.0%
Blue85.5%

CMYK percentages

Cyan79.8%
Magenta66.1%
Yellow0.0%
Key (black)14.5%

Color previews

#2c4ada text on a black background

contrast 3.10:1

Card sample

#2c4ada text on a white background

contrast 6.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 74, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 74, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c4ada;
background: linear-gradient(135deg, #2c4ada, #822CDA);

Monochromatic scale

Palettes built from #2c4ada

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2c4ada in the Color Lab