#1F2A51

Dark Blue

HEX

RGB

HSL

About #1F2A51 Dark Blue

#1F2A51 is a dark blue color. In the RGB color model, it is composed of 31 red, 42 green, and 81 blue. In the HSL color space, it has a hue of 227°, saturation of 45%, and lightness of 22%.

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 #1F2A51 in your CSS, SCSS, or Tailwind projects.

Color Properties

227°

Hue

45%

Saturation

22%

Lightness

Dark Blue

Color Harmonies

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

Accessibility

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

Aa#1F2A51 on White
Contrast Ratio13.92:1
AA AA Large AAA
Aa#1F2A51 on Black
Contrast Ratio1.51:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #1F2A51 across different color formats.

FormatValue
HEX#1F2A51
RGBrgb(31, 42, 81)
HSLhsl(227, 45%, 22%)
RGB Decimal31, 42, 81
RGB Percent12.2%, 16.5%, 31.8%
CMYK (approx.)62%, 48%, 0%, 68%

Related Palettes

12 palettes using #1F2A51 or similar colors

#0E1425#1E2B53#404B6D#566694
#14171F#1E2E52#444F6A#4462A7
#0F1624#202F50#364B78#4363A8
#121721#1E2F52#3C4E71#4967A1
#121721#202F50#32487B#4161A9
#101223#1E2552#3A4174#586093
#111322#24284D#363D77#424CA9
#121721#1F3151#3E4F70#4D699E
#131320#23254D#42436C#4D509D
#0E1425#1B274B#243875#374E95
#111222#1F2251#30337E#494EA1
#131820#21334F#455369#596F91