#040080

Vivid Blue

HEX

RGB

HSL

About #040080 Vivid Blue

#040080 is a vivid blue color. In the RGB color model, it is composed of 4 red, 0 green, and 128 blue. In the HSL color space, it has a hue of 242°, saturation of 100%, and lightness of 25%.

This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.

CSS Code

Use #040080 in your CSS, SCSS, or Tailwind projects.

Color Properties

242°

Hue

100%

Saturation

25%

Lightness

Vivid Blue

Color Harmonies

Colors that work well with #040080 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #040080 against white and black backgrounds.

Aa#040080 on White
Contrast Ratio15.95:1
AA AA Large AAA
Aa#040080 on Black
Contrast Ratio1.32:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #040080 across different color formats.

FormatValue
HEX#040080
RGBrgb(4, 0, 128)
HSLhsl(242, 100%, 25%)
RGB Decimal4, 0, 128
RGB Percent1.6%, 0.0%, 50.2%
CMYK (approx.)97%, 100%, 0%, 50%

Related Palettes

12 palettes using #040080 or similar colors

#1B1464#0652DD#12CBC4#FDA7DF
#1289A7#0652DD#1B1464#000000
#B53471#833471#6F1E51#1B1464
#0C134F#1D267D#5C469C#D4ADFC
#0E0F25#161850#272A72#353997
#55E6C1#58B19F#2C3A47#182C61
#0B2447#19376D#576CBC#A5D7E8
#1A1A2E#16213E#0F3460#E94560
#121221#201F51#393875#4C4AA1
#141122#22184E#3E3564#432F9D
#2523A9#8F33E5#ED78EB#F6BBD8
#151BB7#8738E0#E37FE6#F4BEDB