Skip to content

#2d3ace

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

RGB
45, 58, 206
HSL
235°, 64%, 49%
CMYK
78, 72, 0, 19
Luminance
0.0804

Every format

HEX#2d3ace
RGBrgb(45, 58, 206)
HSLhsl(235, 64%, 49%)
CMYKcmyk(78%, 72%, 0%, 19%)
LABlab(34.1 46.6 -76.9)
LCHlch(34.1 89.9 301.2)
OKLCHoklch(0.451 0.223 269.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d3ace on white: 8.05:1
AA ✓ pass · AA-large · AAA
Aa
#2d3ace on black: 2.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green22.7%
Blue80.8%

CMYK percentages

Cyan78.2%
Magenta71.8%
Yellow0.0%
Key (black)19.2%

Color previews

#2d3ace text on a black background

contrast 2.61:1

Card sample

#2d3ace text on a white background

contrast 8.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d3ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d3ace in the Color Lab