#335588 color

#335588 is rgb(51, 85, 136) in RGB and hsl(216, 45%, 37%) in HSL. The closest CSS named color is darkslateblue (#483d8b, ΔE 11.4). Use white text on it (contrast 7.51:1).

#335588blue
HEX#335588
Short HEX#358
RGBrgb(51, 85, 136)
RGB percentrgb(20%, 33.3%, 53.3%)
HSLhsl(216, 45%, 37%)
HSV / HSBhsv(216, 63%, 53%)
CMYKcmyk(63%, 38%, 0%, 47%)

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

About #335588

#335588 is a medium-dark, muted blue with a hue angle of 216°. It belongs to the blue family and reads as a cool color. In the RGB model blue 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#335588
Short HEX#358
RGBrgb(51, 85, 136)
RGB percentrgb(20%, 33.3%, 53.3%)
HSLhsl(216, 45%, 37%)
HSV / HSBhsv(216, 63%, 53%)
CMYKcmyk(63%, 38%, 0%, 47%)
CIELAB (D65)lab(35.9 4.5 -32.2)
Decimal3364232
Binary00110011 01010101 10001000

HEX 33 55 88 → 51, 85, 136 (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 #335588

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #335588RatioAA normalAA largeAAA normalAAA large
White text7.51:1PassPassPassPass
Black text2.80:1FailFailFailFail
White text on #335588
Black text on #335588
#335588 text on white
#335588 text on black

Relative luminance is 0.0898 (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
#3f598a

Deuteranopia
#345187

Tritanopia
#006168

Achromatopsia
#555555

People with red–green color blindness see this color almost unchanged (ΔE 1.7 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
darkslateblue#483d8b11.4
royalblue#4169e112.9
slateblue#6a5acd14.2
steelblue#4682b416.8

Nearby colors

CSS

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

Frequently asked questions

What color is #335588?
A medium-dark muted blue in the blue family. Closest CSS name: darkslateblue.
What is #335588 in RGB?
rgb(51, 85, 136): red 51, green 85, blue 136.
What is the complementary color of #335588?
#886633, found by rotating the hue 180°.