Skip to content

#13103c

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

RGB
19, 16, 60
HSL
244°, 58%, 15%
CMYK
68, 73, 0, 77
Luminance
0.0084

Every format

HEX#13103c
RGBrgb(19, 16, 60)
HSLhsl(244, 58%, 15%)
CMYKcmyk(68%, 73%, 0%, 77%)
LABlab(7.5 17.1 -27.9)
LCHlch(7.5 32.7 301.6)
OKLCHoklch(0.210 0.081 279.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red7.5%
Green6.3%
Blue23.5%

CMYK percentages

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

Color previews

#13103c text on a black background

contrast 1.17:1

Card sample

#13103c text on a white background

contrast 17.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #13103c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #13103c in the Color Lab