Skip to content

#16103c

a deep, vivid blue · warm · closest name: midnightblue

RGB
22, 16, 60
HSL
248°, 58%, 15%
CMYK
63, 73, 0, 77
Luminance
0.0087

Every format

HEX#16103c
RGBrgb(22, 16, 60)
HSLhsl(248, 58%, 15%)
CMYKcmyk(63%, 73%, 0%, 77%)
LABlab(7.8 17.8 -27.4)
LCHlch(7.8 32.7 303.0)
OKLCHoklch(0.213 0.081 283.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#16103c on white: 17.90:1
AA ✓ pass · AA-large · AAA
Aa
#16103c on black: 1.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red8.6%
Green6.3%
Blue23.5%

CMYK percentages

Cyan63.3%
Magenta73.3%
Yellow0.0%
Key (black)76.5%

Color previews

#16103c text on a black background

contrast 1.17:1

Card sample

#16103c text on a white background

contrast 17.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #16103c;
Background color
Panel with #16103c background
background-color: #16103c;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(22, 16, 60, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 16, 60, 0.45);
Border & gradient
Gradient panel
border: 3px solid #16103c;
background: linear-gradient(135deg, #16103c, #33103C);

Monochromatic scale

Palettes built from #16103c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #16103c in the Color Lab