Skip to content

#2d3eee

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

RGB
45, 62, 238
HSL
235°, 85%, 56%
CMYK
81, 74, 0, 7
Luminance
0.1018

Every format

HEX#2d3eee
RGBrgb(45, 62, 238)
HSLhsl(235, 85%, 56%)
CMYKcmyk(81%, 74%, 0%, 7%)
LABlab(38.1 54.9 -88.5)
LCHlch(38.1 104.2 301.8)
OKLCHoklch(0.490 0.257 268.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d3eee on white: 6.92:1
AA ✓ pass · AA-large · AAA
Aa
#2d3eee on black: 3.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green24.3%
Blue93.3%

CMYK percentages

Cyan81.1%
Magenta73.9%
Yellow0.0%
Key (black)6.7%

Color previews

#2d3eee text on a black background

contrast 3.04:1

Card sample

#2d3eee text on a white background

contrast 6.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d3eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d3eee in the Color Lab