#04181F

Dark Blue

HEX

RGB

HSL

About #04181F Dark Blue

#04181F is a dark blue color. In the RGB color model, it is composed of 4 red, 24 green, and 31 blue. In the HSL color space, it has a hue of 196°, saturation of 77%, and lightness of 7%.

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 & Gradients

Use #04181F in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.

Beautiful Gradients

Color Properties

196°

Hue

77%

Saturation

7%

Lightness

Dark Blue

Color Harmonies

Colors that work well with #04181F based on color theory.

Accessibility

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

Aa#04181F on White
Contrast Ratio18.17:1
AA AA Large AAA
Aa#04181F on Black
Contrast Ratio1.16:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #04181F across different color formats.

FormatValue
HEX#04181F
RGBrgb(4, 24, 31)
HSLhsl(196, 77%, 7%)
RGB Decimal4, 24, 31
RGB Percent1.6%, 9.4%, 12.2%
CMYK (approx.)87%, 23%, 0%, 88%

Related Palettes

12 palettes using #04181F or similar colors

#0C1827#1F3047#254774#40618C
#0D1826#23364E#3C5472#3C70AF
#0D1A26#26394A#2F587E#4A77A1
#0D1A26#203A50#375976#527898
#0E1A25#2C3844#355878#3F77AB
#0E1525#2A3246#31467C#3D5DAD
#0F1724#293547#365077#406BAB
#0F1624#202F50#364B78#4363A8
#0E1425#1B274B#243875#374E95
#0E1425#1E2B53#404B6D#566694
#0F1B24#243A4D#2C5B81#3E7BAC
#0D1326#2B3145#374677#5B6790