Web Safe Color

Copy-ready color values

HEX#333366
RGBrgb(51, 51, 102)
HSLhsl(240, 33%, 30%)
HSVhsv(240, 50%, 40%)
CMYK approx.cmyk(50, 50, 0, 60)

Color value table

FormatValueCopy
HEX#333366
RGBrgb(51, 51, 102)
HSLhsl(240, 33%, 30%)
HSVhsv(240, 50%, 40%)
CMYK approx.cmyk(50, 50, 0, 60)
CSS keyword333366

Contrast and classification

DarkLightness11.63:1Contrast with white1.81:1Contrast with blackBlue / CyanColor family

Shade and tint preview

White 10%
#474775

White 30%
#707094

White 70%
#C2C2D1

White 90%
#EBEBF0

Black 10%
#2E2E5C

Black 30%
#242447

Black 70%
#0F0F1F

Black 90%
#05050A

Harmony palettes

Complementary

#CCCC99
#D8D8B1

Analogous

#333360
#333960

Triadic

#336633
#663333

Split complementary

#D5D5AB
#A7A77D

Using 333366

333366 works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-333366: #333366;
}

.button-primary {
  background: var(--color-333366);
  color: #ffffff;
}

$333366: #333366;

// Tailwind arbitrary value
class="bg-[#333366] text-white"