Skip to content

#362fdf

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

RGB
54, 47, 223
HSL
242°, 73%, 53%
CMYK
76, 79, 0, 13
Luminance
0.0815

Every format

HEX#362fdf
RGBrgb(54, 47, 223)
HSLhsl(242, 73%, 53%)
CMYKcmyk(76%, 79%, 0%, 13%)
LABlab(34.3 58.5 -86.4)
LCHlch(34.3 104.3 304.1)
OKLCHoklch(0.459 0.250 272.3)

Copy-ready code

/* CSS */
color: #362fdf;
background-color: #362fdf;
/* Tailwind (arbitrary) */
class="text-[#362fdf] bg-[#362fdf]"
/* SCSS */
$brand: #362fdf;
/* SwiftUI */
Color(red: 0.212, green: 0.184, blue: 0.875)
/* Android */
Color.parseColor("#362fdf")

Accessibility — WCAG contrast

Aa
#362fdf on white: 7.99:1
AA ✓ pass · AA-large · AAA
Aa
#362fdf on black: 2.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red21.2%
Green18.4%
Blue87.5%

CMYK percentages

Cyan75.8%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#362fdf text on a black background

contrast 2.63:1

Card sample

#362fdf text on a white background

contrast 7.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #362fdf;
Background color
Panel with #362fdf background
background-color: #362fdf;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(54, 47, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 47, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #362fdf;
background: linear-gradient(135deg, #362fdf, #AB2FDF);

Monochromatic scale

Palettes built from #362fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #362fdf in the Color Lab