Skip to content

#336659

a dark, soft cyan · cool · closest name: darkslategray

RGB
51, 102, 89
HSL
165°, 33%, 30%
CMYK
50, 0, 13, 60
Luminance
0.1093

Every format

HEX#336659
RGBrgb(51, 102, 89)
HSLhsl(165, 33%, 30%)
CMYKcmyk(50%, 0%, 13%, 60%)
LABlab(39.5 -20.7 2.1)
LCHlch(39.5 20.8 174.3)
OKLCHoklch(0.471 0.059 175.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#336659 on white: 6.59:1
AA ✓ pass · AA-large · AAA
Aa
#336659 on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.0%
Green40.0%
Blue34.9%

CMYK percentages

Cyan50.0%
Magenta0.0%
Yellow12.7%
Key (black)60.0%

Color previews

#336659 text on a black background

contrast 3.19:1

Card sample

#336659 text on a white background

contrast 6.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(51, 102, 89, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 102, 89, 0.45);
Border & gradient
Gradient panel
border: 3px solid #336659;
background: linear-gradient(135deg, #336659, #335166);

Monochromatic scale

Palettes built from #336659

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #336659 in the Color Lab