#338877 color

#338877 is rgb(51, 136, 119) in RGB and hsl(168, 45%, 37%) in HSL. The closest CSS named color is darkcyan (#008b8b, ΔE 7.2). Use black text on it (contrast 4.93:1).

#338877cyan
HEX#338877
Short HEX#387
RGBrgb(51, 136, 119)
RGB percentrgb(20%, 53.3%, 46.7%)
HSLhsl(168, 45%, 37%)
HSV / HSBhsv(168, 63%, 53%)
CMYKcmyk(63%, 0%, 12%, 47%)

Edit in the color converter → · Check contrast → · Shades →

About #338877

#338877 is a medium-dark, muted cyan with a hue angle of 168°. It belongs to the cyan & teal family and reads as a cool color. In the RGB model green is the strongest channel at 136 (53%) and red the weakest at 51 (20%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#338877
Short HEX#387
RGBrgb(51, 136, 119)
RGB percentrgb(20%, 53.3%, 46.7%)
HSLhsl(168, 45%, 37%)
HSV / HSBhsv(168, 63%, 53%)
CMYKcmyk(63%, 0%, 12%, 47%)
CIELAB (D65)lab(51.4 -29.8 1.6)
Decimal3377271
Binary00110011 10001000 01110111

HEX 33 88 77 → 51, 136, 119 (each pair is a base-16 number: 3×16 + 3 = 51)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #338877

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #338877RatioAA normalAA largeAAA normalAAA large
White text4.26:1FailPassFailFail
Black text4.93:1PassPassFailPass
White text on #338877
Black text on #338877
#338877 text on white
#338877 text on black

Relative luminance is 0.1964 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#838076

Deuteranopia
#767778

Tritanopia
#008a83

Achromatopsia
#7b7b7b

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 21.6). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
darkcyan#008b8b7.2
teal#0080807.7
seagreen#2e8b5710.5
cadetblue#5f9ea012.5

Nearby colors

CSS

.element {
  color: #338877;
  background-color: rgb(51, 136, 119);
  border: 1px solid hsl(168, 45%, 37%);
  box-shadow: 0 2px 8px rgb(51 136 119 / 50%);
}
:root { --brand: #338877; }

Frequently asked questions

What color is #338877?
A medium-dark muted cyan in the cyan & teal family. Closest CSS name: darkcyan.
What is #338877 in RGB?
rgb(51, 136, 119): red 51, green 136, blue 119.
What is the complementary color of #338877?
#883344, found by rotating the hue 180°.