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

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
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.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Blue (pigment)
#333399 Base
#999933
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Blue (pigment)
#333399 Base
#336699
Rebecca Purple
#663399
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Blue (pigment)
#333399 Base
#993333
#339933
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Blue (pigment)
#333399 Base
#996633
#669933
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Blue (pigment)
#333399 Base
#993366
#999933
#339966
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Blue (pigment)
#333399 Base
#0D0D26
#202060
#29297A
#3D3DB8
#5353C6
#8C8CD9
Shades & Tints

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
Blue (pigment) #333399 Base
#4444C1
#6E6ECF
#9898DD
#C2C2EB
#ECECF9
CSS & SCSS Snippets

Ready-to-use code snippets for #333399. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #333399;
}

/* Text */
.element {
    color: #333399;
}

/* Border */
.element {
    border: 1px solid #333399;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #333399,
        #DDDD55
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #333399,
        #DDDD55
    );
}
SCSS Variable
// 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);
}
Color Blindness Simulation

How Blue (pigment) appears to people with different types of color vision deficiency.

Normal Vision #333399 How the color appears with full color vision.
Deuteranopia #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.
Protanopia #333399 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #004A4A Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #424242 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Blue (pigment) ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Blue (pigment) #333399 Base
Egyptian Blue #1034A6 ΔE 3.43
UA Blue #0033AA ΔE 3.96
Smalt #003399 ΔE 4.16

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.