Skip to content

#2c4ace

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

RGB
44, 74, 206
HSL
229°, 65%, 49%
CMYK
79, 64, 0, 19
Luminance
0.0989

Every format

HEX#2c4ace
RGBrgb(44, 74, 206)
HSLhsl(229, 65%, 49%)
CMYKcmyk(79%, 64%, 0%, 19%)
LABlab(37.6 36.7 -71.0)
LCHlch(37.6 80.0 297.3)
OKLCHoklch(0.477 0.206 267.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c4ace on white: 7.05:1
AA ✓ pass · AA-large · AAA
Aa
#2c4ace on black: 2.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green29.0%
Blue80.8%

CMYK percentages

Cyan78.6%
Magenta64.1%
Yellow0.0%
Key (black)19.2%

Color previews

#2c4ace text on a black background

contrast 2.98:1

Card sample

#2c4ace text on a white background

contrast 7.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c4ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2c4ace in the Color Lab