Skip to content

#2000b3

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

RGB
32, 0, 179
HSL
251°, 100%, 35%
CMYK
82, 100, 0, 30
Luminance
0.0356

Every format

HEX#2000b3
RGBrgb(32, 0, 179)
HSLhsl(251, 100%, 35%)
CMYKcmyk(82%, 100%, 0%, 30%)
LABlab(22.2 61.1 -80.8)
LCHlch(22.2 101.3 307.1)
OKLCHoklch(0.357 0.233 270.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2000b3 on white: 12.26:1
AA ✓ pass · AA-large · AAA
Aa
#2000b3 on black: 1.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green0.0%
Blue70.2%

CMYK percentages

Cyan82.1%
Magenta100.0%
Yellow0.0%
Key (black)29.8%

Color previews

#2000b3 text on a black background

contrast 1.71:1

Card sample

#2000b3 text on a white background

contrast 12.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(32, 0, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 0, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2000b3;
background: linear-gradient(135deg, #2000b3, #9700B3);

Monochromatic scale

Palettes built from #2000b3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2000b3 in the Color Lab