Skip to main content

Blue

#0400FF

Blue is a cool medium color with the hex code #0400FF. This vibrant hue can be represented as RGB 4, 0, 255 in digital design or CMYK 98%, 100%, 0%, 0% for print applications. Find matching Pantone color.

Blue Color Values

HEX
#0400FF
RGB
4, 0, 255
HSL
241°, 100%, 50%
CMYK
98, 100, 0, 0

About this color

Blue sits at 241° on the color wheel, placing it in the cool color family, typically conveying calm and professionalism. With 100% saturation and 50% lightness, this vibrant medium hue balances visibility with restraint.

In digital design, cool colors like Blue work well for backgrounds, navigation, and establishing trust. Medium-toned colors offer versatility across both light and dark design themes.

When using Blue in print, the CMYK breakdown of 98%, 100%, 0%, 0% ensures accurate color reproduction. The bright CMYK values indicate this color relies on pure inks rather than black, maintaining vibrancy in print.

How to use Blue

CSS Variable

:root {
  --brand-primary: #0400FF;
  --brand-primary-rgb: 4, 0, 255;
}

Define as a CSS custom property for consistent theming across your site.

Tailwind Config

colors: {
  brand: '#0400FF',
}

Add to your Tailwind config to use classes like bg-brand.

Print Design (CMYK)

C: 98%
M: 100%
Y: 0%
K: 0%

Use these CMYK values in Adobe Illustrator, InDesign, or print specifications.

RGB for Screens

rgb(4, 0, 255)
rgba(4, 0, 255, 0.8)

Use RGB notation for compatibility or add alpha channel for transparency.

Frequently Asked Questions

What color is #0400FF?
#0400FF is Blue, a cool medium color with RGB values of 4, 0, 255. It has a hue of 241°, 100% saturation, and 50% lightness in the HSL color space.
What is the RGB value of #0400FF?
The RGB color code for #0400FF is rgb(4, 0, 255). This means it contains 4 red, 0 green, and 255 blue in the RGB color model.
Is Blue a warm or cool color?
Blue (#0400FF) is a cool color with a hue between 120-300° on the color wheel.
How do I use #0400FF in CSS?
You can use #0400FF in CSS with: background-color: #0400FF; or color: #0400FF; or as an RGB value: rgb(4, 0, 255). For print design, use CMYK: 98%, 100%, 0%, 0%.