Blue (pigment) (#333399)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 10.12:1 — vs black: 2.07:1
Color values
-
HEX
#333399 -
RGB
rgb(51, 51, 153) -
HSL
hsl(240, 66%, 60%) -
CMYK
cmyk( 66.67, 66.67, 0, 40 )
Tags
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #333399 based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#333399
Base
#999933
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#333399
Base
#993333
#339933
Two colors flanking the complement — high contrast with less tension than full complementary.
#333399
Base
#996633
#669933
Four colors at 90° intervals — rich variety, best when one color dominates.
#333399
Base
#993366
#999933
#339966
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#333399
Base
#0D0D26
#202060
#29297A
#3D3DB8
#5353C6
#8C8CD9
Darker shades and lighter tints of Blue (pigment), generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#060613
#0F0F2E
#181849
#212163
#2A2A7E
#333399
Base
#4444C1
#6E6ECF
#9898DD
#C2C2EB
#ECECF9
Ready-to-use code snippets for #333399. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #333399;
}
/* Text */
.element {
color: #333399;
}
/* Border */
.element {
border: 1px solid #333399;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#333399,
#DDDD55
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#333399,
#DDDD55
);
}
// SCSS variable
$blue-(pigment): #333399;
// With RGB channels (useful for rgba() usage)
$blue-(pigment)-r: 51;
$blue-(pigment)-g: 51;
$blue-(pigment)-b: 153;
// Usage
.element {
background-color: $blue-(pigment);
color: rgba($blue-(pigment)-r, $blue-(pigment)-g, $blue-(pigment)-b, 0.8);
}
How Blue (pigment) appears to people with different types of color vision deficiency.
#333399
How the color appears with full color vision.
#333399
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#333399
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#004A4A
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#424242
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.