Web Safe Color
Copy-ready color values
HEX
#333399RGB
rgb(51, 51, 153)HSL
hsl(240, 50%, 40%)HSV
hsv(240, 67%, 60%)CMYK approx.
cmyk(67, 67, 0, 40)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #333399 | |
| RGB | rgb(51, 51, 153) | |
| HSL | hsl(240, 50%, 40%) | |
| HSV | hsv(240, 67%, 60%) | |
| CMYK approx. | cmyk(67, 67, 0, 40) | |
| CSS keyword | 333399 |
Contrast and classification
DarkLightness10.12:1Contrast with white2.07:1Contrast with blackBlue / CyanColor family
Shade and tint preview
White 10%#4747A3
White 30%#7070B8
White 70%#C2C2E0
White 90%#EBEBF5
Black 10%#2E2E8A
Black 30%#24246B
Black 70%#0F0F2E
Black 90%#05050F
Harmony palettes
Complementary
#CCCC66#D8D88BAnalogous
#33338D#333F8DTriadic
#339933#993333Split complementary
#D5D582#A7A754Using 333399
333399 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-333399: #333399;
}
.button-primary {
background: var(--color-333399);
color: #ffffff;
}
$333399: #333399;
// Tailwind arbitrary value
class="bg-[#333399] text-white"