Skip to content

#2017ba

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

RGB
32, 23, 186
HSL
243°, 78%, 41%
CMYK
83, 88, 0, 27
Luminance
0.0447

Every format

HEX#2017ba
RGBrgb(32, 23, 186)
HSLhsl(243, 78%, 41%)
CMYKcmyk(83%, 88%, 0%, 27%)
LABlab(25.1 56.8 -80.0)
LCHlch(25.1 98.1 305.4)
OKLCHoklch(0.380 0.231 269.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2017ba on white: 11.09:1
AA ✓ pass · AA-large · AAA
Aa
#2017ba on black: 1.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green9.0%
Blue72.9%

CMYK percentages

Cyan82.8%
Magenta87.6%
Yellow0.0%
Key (black)27.1%

Color previews

#2017ba text on a black background

contrast 1.89:1

Card sample

#2017ba text on a white background

contrast 11.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(32, 23, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 23, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2017ba;
background: linear-gradient(135deg, #2017ba, #8D17BA);

Monochromatic scale

Palettes built from #2017ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2017ba in the Color Lab