Skip to content

#2d3abf

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

RGB
45, 58, 191
HSL
235°, 62%, 46%
CMYK
76, 70, 0, 25
Luminance
0.0735

Every format

HEX#2d3abf
RGBrgb(45, 58, 191)
HSLhsl(235, 62%, 46%)
CMYKcmyk(76%, 70%, 0%, 25%)
LABlab(32.6 41.4 -70.6)
LCHlch(32.6 81.9 300.4)
OKLCHoklch(0.436 0.204 270.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d3abf on white: 8.51:1
AA ✓ pass · AA-large · AAA
Aa
#2d3abf on black: 2.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green22.7%
Blue74.9%

CMYK percentages

Cyan76.4%
Magenta69.6%
Yellow0.0%
Key (black)25.1%

Color previews

#2d3abf text on a black background

contrast 2.47:1

Card sample

#2d3abf text on a white background

contrast 8.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d3abf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d3abf in the Color Lab