Blue (Pigment) (#333399)
The hex code for Blue (Pigment) is #333399. It is rgb(51, 51, 153) in RGB, hsl(240, 50%, 40%) in HSL, and about cmyk(67%, 67%, 0%, 40%) in CMYK — a mid-tone blue. White text is the more readable choice on this background.
#333399rgb(51, 51, 153)hsl(240, 50%, 40%)hsv(240, 67%, 60%)cmyk(67%, 67%, 0%, 40%)oklch(39.1% 0.162 275.9)lab(26.85% 26.58 -56.98)lch(26.85% 62.88 295.01)Colors Closest to Blue (Pigment)
Blue (Pigment) is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.
Browse the full index of named colors A-Z or every blue in the library.
#333399 Channel Values
How Blue (Pigment) breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 51 · G 51 · B 153 | 8-bit channels as sent to the display |
| HSL | H 240° · S 50% · L 40% | Easiest model for building lighter and darker variants |
| HSV | H 240° · S 67% · V 60% | Matches the picker in most design tools |
| CMYK | C 67% · M 67% · Y 0% · K 40% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 10.12:1 vs white · 2.07:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a Blue (Pigment) background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #333399 in the contrast checker.
Colors That Go With Blue (Pigment)
Pairings derived from color-wheel relationships. The complementary color sits opposite Blue (Pigment); analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of Blue (Pigment)
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #333399.
How Blue (Pigment) Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#333399#333399#333399#333399#333399#004A4A#1C4272#424242Using #333399 in Code
Copy-ready declarations for the places this color usually ends up.
--blue-pigment: #333399;background-color: #333399;colors: { 'blue-pigment': '#333399' }Color(red: 0.200, green: 0.200, blue: 0.600)<color name="blue_pigment">#333399</color>fill="#333399"More Blue Colors
Blue (Pigment) sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.
#333399 Frequently Asked Questions
What is the hex code for Blue (Pigment)?
The hex code for Blue (Pigment) is #333399. That is rgb(51, 51, 153) in RGB, hsl(240, 50%, 40%) in HSL, and approximately cmyk(67%, 67%, 0%, 40%) in CMYK.
What is the RGB value of #333399?
#333399 is rgb(51, 51, 153) — red 51, green 51, and blue 153 on the 0-255 scale.
What is the CMYK value of #333399?
#333399 converts to approximately cmyk(67%, 67%, 0%, 40%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #333399 be black or white?
White text is the more readable choice. #333399 scores 10.12:1 against white and 2.07:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Can I write #333399 as a CSS color keyword?
No. #333399 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is midnightblue (#191970) at a CIE76 distance of 13.4, which is visibly different.
Open Blue (Pigment) in a Tool
Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.