Skip to content

#162cff

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

RGB
22, 44, 255
HSL
234°, 100%, 54%
CMYK
91, 83, 0, 0
Luminance
0.0919

Every format

HEX#162cff
RGBrgb(22, 44, 255)
HSLhsl(234, 100%, 54%)
CMYKcmyk(91%, 83%, 0%, 0%)
LABlab(36.4 68.1 -101.1)
LCHlch(36.4 121.9 304.0)
OKLCHoklch(0.481 0.294 265.7)

Copy-ready code

/* CSS */
color: #162cff;
background-color: #162cff;
/* Tailwind (arbitrary) */
class="text-[#162cff] bg-[#162cff]"
/* SCSS */
$brand: #162cff;
/* SwiftUI */
Color(red: 0.086, green: 0.173, blue: 1.000)
/* Android */
Color.parseColor("#162cff")

Accessibility — WCAG contrast

Aa
#162cff on white: 7.40:1
AA ✓ pass · AA-large · AAA
Aa
#162cff on black: 2.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red8.6%
Green17.3%
Blue100.0%

CMYK percentages

Cyan91.4%
Magenta82.7%
Yellow0.0%
Key (black)0.0%

Color previews

#162cff text on a black background

contrast 2.84:1

Card sample

#162cff text on a white background

contrast 7.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #162cff;
Background color
Panel with #162cff background
background-color: #162cff;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(22, 44, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 44, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #162cff;
background: linear-gradient(135deg, #162cff, #9B16FF);

Monochromatic scale

Palettes built from #162cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #162cff in the Color Lab