#334488 color

#334488 is rgb(51, 68, 136) in RGB and hsl(228, 45%, 37%) in HSL. The closest CSS named color is darkslateblue (#483d8b, ΔE 5.8). Use white text on it (contrast 9.04:1).

#334488blue
HEX#334488
Short HEX#348
RGBrgb(51, 68, 136)
RGB percentrgb(20%, 26.7%, 53.3%)
HSLhsl(228, 45%, 37%)
HSV / HSBhsv(228, 63%, 53%)
CMYKcmyk(63%, 50%, 0%, 47%)

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

About #334488

#334488 is a medium-dark, muted blue with a hue angle of 228°. 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#334488
Short HEX#348
RGBrgb(51, 68, 136)
RGB percentrgb(20%, 26.7%, 53.3%)
HSLhsl(228, 45%, 37%)
HSV / HSBhsv(228, 63%, 53%)
CMYKcmyk(63%, 50%, 0%, 47%)
CIELAB (D65)lab(30.9 15.8 -40.2)
Decimal3359880
Binary00110011 01000100 10001000

HEX 33 44 88 → 51, 68, 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 #334488

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #334488RatioAA normalAA largeAAA normalAAA large
White text9.04:1PassPassPassPass
Black text2.32:1FailFailFailFail
White text on #334488
Black text on #334488
#334488 text on white
#334488 text on black

Relative luminance is 0.0662 (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
#214d8a

Deuteranopia
#114587

Tritanopia
#00535f

Achromatopsia
#494949

People with red–green color blindness see this color almost unchanged (ΔE 4.9 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#483d8b5.8
midnightblue#19197012.8
rebeccapurple#66339913.1
slateblue#6a5acd14.5

Nearby colors

CSS

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

Frequently asked questions

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