Skip to content

#0055aa

a dark, electric blue · cool · closest name: royalblue

RGB
0, 85, 170
HSL
210°, 100%, 33%
CMYK
100, 50, 0, 33
Luminance
0.0940

Every format

HEX#0055aa
RGBrgb(0, 85, 170)
HSLhsl(210, 100%, 33%)
CMYKcmyk(100%, 50%, 0%, 33%)
LABlab(36.7 12.6 -51.5)
LCHlch(36.7 53.0 283.8)
OKLCHoklch(0.458 0.153 255.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0055aa on white: 7.29:1
AA ✓ pass · AA-large · AAA
Aa
#0055aa on black: 2.88:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green33.3%
Blue66.7%

CMYK percentages

Cyan100.0%
Magenta50.0%
Yellow0.0%
Key (black)33.3%

Color previews

#0055aa text on a black background

contrast 2.88:1

Card sample

#0055aa text on a white background

contrast 7.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 85, 170, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 85, 170, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0055aa;
background: linear-gradient(135deg, #0055aa, #1C00AA);

Monochromatic scale

Palettes built from #0055aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0055aa in the Color Lab