Skip to content

#2d3abc

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

RGB
45, 58, 188
HSL
235°, 61%, 46%
CMYK
76, 69, 0, 26
Luminance
0.0721

Every format

HEX#2d3abc
RGBrgb(45, 58, 188)
HSLhsl(235, 61%, 46%)
CMYKcmyk(76%, 69%, 0%, 26%)
LABlab(32.3 40.4 -69.3)
LCHlch(32.3 80.2 300.2)
OKLCHoklch(0.433 0.201 270.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d3abc on white: 8.60:1
AA ✓ pass · AA-large · AAA
Aa
#2d3abc on black: 2.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green22.7%
Blue73.7%

CMYK percentages

Cyan76.1%
Magenta69.1%
Yellow0.0%
Key (black)26.3%

Color previews

#2d3abc text on a black background

contrast 2.44:1

Card sample

#2d3abc text on a white background

contrast 8.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d3abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d3abc in the Color Lab