Skip to content

#2d3cef

a balanced, electric blue · warm · closest name: blue

RGB
45, 60, 239
HSL
235°, 86%, 56%
CMYK
81, 75, 0, 6
Luminance
0.1002

Every format

HEX#2d3cef
RGBrgb(45, 60, 239)
HSLhsl(235, 86%, 56%)
CMYKcmyk(81%, 75%, 0%, 6%)
LABlab(37.9 56.3 -89.5)
LCHlch(37.9 105.8 302.2)
OKLCHoklch(0.488 0.260 268.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d3cef on white: 6.99:1
AA ✓ pass · AA-large · AAA
Aa
#2d3cef on black: 3.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green23.5%
Blue93.7%

CMYK percentages

Cyan81.2%
Magenta74.9%
Yellow0.0%
Key (black)6.3%

Color previews

#2d3cef text on a black background

contrast 3.00:1

Card sample

#2d3cef text on a white background

contrast 6.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 60, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 60, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d3cef;
background: linear-gradient(135deg, #2d3cef, #9F2DEF);

Monochromatic scale

Palettes built from #2d3cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d3cef in the Color Lab