#1F3798

Blue

HEX

RGB

HSL

About #1F3798 Blue

#1F3798 is a blue color. In the RGB color model, it is composed of 31 red, 55 green, and 152 blue. In the HSL color space, it has a hue of 228°, saturation of 66%, and lightness of 36%.

This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #1F3798 in your CSS, SCSS, or Tailwind projects.

Color Properties

228°

Hue

66%

Saturation

36%

Lightness

Blue

Color Harmonies

Colors that work well with #1F3798 based on color theory.

Accessibility

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

Aa#1F3798 on White
Contrast Ratio10.2:1
AA AA Large AAA
Aa#1F3798 on Black
Contrast Ratio2.06:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #1F3798 across different color formats.

FormatValue
HEX#1F3798
RGBrgb(31, 55, 152)
HSLhsl(228, 66%, 36%)
RGB Decimal31, 55, 152
RGB Percent12.2%, 21.6%, 59.6%
CMYK (approx.)80%, 64%, 0%, 40%

Related Palettes

12 palettes using #1F3798 or similar colors

#2835A4#7E44D4#DF7BEA#F1C1DE
#2630A6#8042D6#E279EC#F7BADE
#2138AB#6F35E3#D57FE6#F6BCE2
#101323#222744#323967#32409A
#0E0F25#161850#272A72#353997
#1E2FAE#7B41D8#DB7DE8#F7BAE0
#2B26A6#9144D5#E580E1#F1C1D7
#2523A9#8F33E5#ED78EB#F6BBD8
#193AB3#6635E4#CD83E2#F6BCE5
#101023#23224E#2D2C82#4442A9
#192EB3#763ADF#DC7AEB#F5BDE0
#2550A7#5E46D2#C47EE7#F5BDEB