Skip to content

#362ace

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

RGB
54, 42, 206
HSL
244°, 66%, 49%
CMYK
74, 80, 0, 19
Luminance
0.0690

Every format

HEX#362ace
RGBrgb(54, 42, 206)
HSLhsl(244, 66%, 49%)
CMYKcmyk(74%, 80%, 0%, 19%)
LABlab(31.6 55.8 -81.0)
LCHlch(31.6 98.4 304.5)
OKLCHoklch(0.435 0.235 273.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#362ace on white: 8.83:1
AA ✓ pass · AA-large · AAA
Aa
#362ace on black: 2.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red21.2%
Green16.5%
Blue80.8%

CMYK percentages

Cyan73.8%
Magenta79.6%
Yellow0.0%
Key (black)19.2%

Color previews

#362ace text on a black background

contrast 2.38:1

Card sample

#362ace text on a white background

contrast 8.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #362ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #362ace in the Color Lab