Skip to content

#3399aa

a dark, vivid cyan · cool · closest name: teal

RGB
51, 153, 170
HSL
189°, 54%, 43%
CMYK
70, 10, 0, 33
Luminance
0.2639

Every format

HEX#3399aa
RGBrgb(51, 153, 170)
HSLhsl(189, 54%, 43%)
CMYKcmyk(70%, 10%, 0%, 33%)
LABlab(58.4 -23.3 -17.4)
LCHlch(58.4 29.0 216.8)
OKLCHoklch(0.632 0.094 210.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3399aa on white: 3.35:1
AA ✗ fail · AA-large · AAA
Aa
#3399aa on black: 6.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.0%
Green60.0%
Blue66.7%

CMYK percentages

Cyan70.0%
Magenta10.0%
Yellow0.0%
Key (black)33.3%

Color previews

#3399aa text on a black background

contrast 6.28:1

Card sample

#3399aa text on a white background

contrast 3.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(51, 153, 170, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 153, 170, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3399aa;
background: linear-gradient(135deg, #3399aa, #334AAA);

Monochromatic scale

Palettes built from #3399aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3399aa in the Color Lab