Skip to content

#111177

a dark, electric blue · warm · closest name: midnightblue

RGB
17, 17, 119
HSL
240°, 75%, 27%
CMYK
86, 86, 0, 53
Luminance
0.0185

Every format

HEX#111177
RGBrgb(17, 17, 119)
HSLhsl(240, 75%, 27%)
CMYKcmyk(86%, 86%, 0%, 53%)
LABlab(14.7 38.1 -56.0)
LCHlch(14.7 67.8 304.2)
OKLCHoklch(0.281 0.162 269.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#111177 on white: 15.32:1
AA ✓ pass · AA-large · AAA
Aa
#111177 on black: 1.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red6.7%
Green6.7%
Blue46.7%

CMYK percentages

Cyan85.7%
Magenta85.7%
Yellow0.0%
Key (black)53.3%

Color previews

#111177 text on a black background

contrast 1.37:1

Card sample

#111177 text on a white background

contrast 15.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(17, 17, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(17, 17, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #111177;
background: linear-gradient(135deg, #111177, #551177);

Monochromatic scale

Palettes built from #111177

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #111177 in the Color Lab