Skip to content

#362abc

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

RGB
54, 42, 188
HSL
245°, 64%, 45%
CMYK
71, 78, 0, 26
Luminance
0.0607

Every format

HEX#362abc
RGBrgb(54, 42, 188)
HSLhsl(245, 64%, 45%)
CMYKcmyk(71%, 78%, 0%, 26%)
LABlab(29.6 50.3 -73.8)
LCHlch(29.6 89.3 304.3)
OKLCHoklch(0.415 0.214 275.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#362abc on white: 9.48:1
AA ✓ pass · AA-large · AAA
Aa
#362abc on black: 2.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red21.2%
Green16.5%
Blue73.7%

CMYK percentages

Cyan71.3%
Magenta77.7%
Yellow0.0%
Key (black)26.3%

Color previews

#362abc text on a black background

contrast 2.21:1

Card sample

#362abc text on a white background

contrast 9.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(54, 42, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 42, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #362abc;
background: linear-gradient(135deg, #362abc, #972ABC);

Monochromatic scale

Palettes built from #362abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #362abc in the Color Lab