✓ Copied to clipboard
#304FAB (Cool Blue) color swatch preview — Color From Pic.
#304FAB — Cool Blue color swatch

Cool Blue

#304FAB

📝 Color Information for #304FAB

The hexadecimal color code #304FAB represents a medium shade in the blue family. In the RGB color model, this color is composed of 48 red, 79 green, and 171 blue, which translates to approximately 19% red, 31% green, and 67% blue. This makes it a moderately saturated color with cool undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #304FAB has a hue of 225 degrees, a saturation level of 56%, and a lightness value of 43%. The hue angle of 225° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 225°, saturation of 72%, and brightness/value of 67%. For print applications using the CMYK color model, #304FAB would be reproduced using 72% cyan, 54% magenta, 0% yellow, and 33% black. The closest web-safe color is #336699, which may be useful for ensuring compatibility across older displays and systems. This color works well in various design contexts. With its medium lightness, it's versatile enough for both foreground elements and subtle backgrounds. The moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #304FAB with other colors, consider its complementary color at hue 45° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 3166123, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #304FAB

Tailwind CSS
blue-800
HEX
#304FAB
RGB
rgb(48, 79, 171)
RGB %
19%, 31%, 67%
HSL
hsl(225, 56%, 43%)
HSV
hsv(225, 72%, 67%)
CMYK
72%, 54%, 0%, 33%
Decimal
3166123
Web Safe
#336699

🎨 Color Schemes for #304FAB

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #304FAB

🌗 Shades and Tints of #304FAB

Shades (adding black)
Tints (adding white)

🎚️ Tones of #304FAB

Tones (adding gray / desaturating)

🌈 Hue Variations of #304FAB

Hue Variations (shifting the color spectrum)

👁️ Preview of #304FAB in Use

Text on #304FAB
This demonstrates text readability on the color background. (Click to edit)
#304FAB as Text
This shows the color used as text on white. (Click to edit)

👓 Color Blindness Simulation for #304FAB

Check how a color is perceived by people with different types of color blindness to create more accessible designs. Understanding color perception helps ensure your content is accessible to everyone.

📋 CSS Code for #304FAB

:root { --color-hex: #304FAB; --color-rgb: 48, 79, 171; --color-hsl: 225, 56%, 43%; } .bg-color { background-color: #304FAB; } .text-color { color: #304FAB; } .border-color { border-color: #304FAB; }

🛠️ Use #304FAB in Your Project

🎨
Build a Palette with #304FAB
Generate harmonious color schemes
⚖️
Check Contrast for #304FAB
WCAG accessibility testing
🌈
Create a Gradient with #304FAB
Beautiful CSS gradients

🔗 Related Colors to #304FAB

#308CAB
Hue -30°
#306EAB
Hue -15°
#3030AB
Hue +15°
#4F30AB
Hue +30°
#2A4493
85% L
#223777
70% L
#192858
50% L
#0F1834
30% L
#4869CB
54% L
#7890D9
66% L
#A4B4E5
77% L
#D3DBF3
89% L

About Cool Blue (#304FAB)

Cool Blue is a medium, moderately saturated, cool blue color with a hue angle of 225°, saturation of 56%, and lightness of 43%. Its RGB value is (48, 79, 171) and its CMYK breakdown is C:72% M:54% Y:0% K:33%.

This is a Summer (Cool) color palette archetype. Trust, Loyalty, Wisdom, Confidence. Blue is considered beneficial to the mind and body.

Frequently Asked Questions About #304FAB

What is the HEX code for Cool Blue? +

The HEX code for Cool Blue is #304FAB. In CSS you can use it directly as color: #304FAB; or as a background: background-color: #304FAB;. The three-character shorthand is not available for this color since it cannot be reduced without changing the value. Use the full six-character hex for accurate reproduction in any web or design project.

What is the RGB value of #304FAB? +

The RGB value of #304FAB is rgb(48, 79, 171). This means the color contains 48 out of 255 parts red, 79 out of 255 parts green, and 171 out of 255 parts blue. Red is the moderate channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(48, 79, 171);

What is the HSL value of #304FAB? +

The HSL value of #304FAB is hsl(225, 56%, 43%). The hue is 225°, placing it in the blue family on the color wheel. The saturation is 56%, making it moderately saturated. The lightness is 43%, making it medium. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.

Is #304FAB a warm or cool color? +

#304FAB is classified as a cool color based on its hue angle of 225°. Cool colors — blues, greens, and purples — evoke calm, trust, and professionalism. They tend to recede visually and create a feeling of space. In design, cool colors are often used for technology, healthcare, and finance brands, as well as anywhere a sense of calm or reliability is needed.

What is the CMYK value of #304FAB? +

The approximate CMYK value of #304FAB is C:72% M:54% Y:0% K:33%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in physical printing. Unlike RGB which mixes light additively on screens, CMYK mixes inks subtractively on paper. Note that the RGB-to-CMYK conversion is an approximation — screen colors and print colors exist in different color gamuts, and some screen colors cannot be exactly reproduced in print. For precise print work, consult a professional print color profile or Pantone matching system.

Analyze #304FAB with Other Tools

🔢
Color Converter
Get all formats for #304FAB — HEX, RGB, HSL, HSV, CMYK, harmonies and shades.
Contrast Checker
Test whether #304FAB passes WCAG AA/AAA contrast requirements as text.
🎨
Palette Generator
Generate complementary, triadic, and analogous palettes starting from #304FAB.
👓
Blindness Simulator
See how #304FAB appears to users with deuteranopia, protanopia, and tritanopia.
📊
Color Analysis
Deep analysis of luminance, temperature, psychology and harmonies for #304FAB.
🎭
Creative Aspects
Explore the mood, psychology, seasonal meaning, and mixing guide for #304FAB.
🌅
Gradient Maker
Create a beautiful CSS linear or radial gradient starting from #304FAB.
🔬
Technical Formats
See #304FAB in OKLCH, Lab, HSV, XYZ, and other advanced color spaces.
🎨
Practical Formats
Get #304FAB as a CSS variable, Tailwind class, design token, and more.

More Color Tools

Explore our full suite of free color utilities for designers and developers.