Skip to content

#2d3dbb

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

RGB
45, 61, 187
HSL
233°, 61%, 46%
CMYK
76, 67, 0, 27
Luminance
0.0748

Every format

HEX#2d3dbb
RGBrgb(45, 61, 187)
HSLhsl(233, 61%, 46%)
CMYKcmyk(76%, 67%, 0%, 27%)
LABlab(32.9 38.2 -67.8)
LCHlch(32.9 77.8 299.4)
OKLCHoklch(0.437 0.196 270.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d3dbb on white: 8.41:1
AA ✓ pass · AA-large · AAA
Aa
#2d3dbb on black: 2.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green23.9%
Blue73.3%

CMYK percentages

Cyan75.9%
Magenta67.4%
Yellow0.0%
Key (black)26.7%

Color previews

#2d3dbb text on a black background

contrast 2.50:1

Card sample

#2d3dbb text on a white background

contrast 8.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d3dbb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d3dbb in the Color Lab