#040F1D

Dark Blue

HEX

RGB

HSL

About #040F1D Dark Blue

#040F1D is a dark blue color. In the RGB color model, it is composed of 4 red, 15 green, and 29 blue. In the HSL color space, it has a hue of 214°, saturation of 76%, and lightness of 6%.

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 #040F1D in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.

Beautiful Gradients

Color Properties

214°

Hue

76%

Saturation

6%

Lightness

Dark Blue

Color Harmonies

Colors that work well with #040F1D based on color theory.

Accessibility

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

Aa#040F1D on White
Contrast Ratio19.24:1
AA AA Large AAA
Aa#040F1D on Black
Contrast Ratio1.09:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #040F1D across different color formats.

FormatValue
HEX#040F1D
RGBrgb(4, 15, 29)
HSLhsl(214, 76%, 6%)
RGB Decimal4, 15, 29
RGB Percent1.6%, 5.9%, 11.4%
CMYK (approx.)86%, 48%, 0%, 89%

Related Palettes

12 palettes using #040F1D or similar colors

#0E0F25#161850#272A72#353997
#0F1124#2C2E44#353B78#565B95
#0D1326#2B3145#374677#5B6790
#101023#23224E#2D2C82#4442A9
#0F0E25#2C2C45#3F3E6F#3E3DAE
#0E1425#1B274B#243875#374E95
#101223#1E2552#3A4174#586093
#0E1425#1E2B53#404B6D#566694
#101323#222744#323967#32409A
#0E1525#2A3246#31467C#3D5DAD
#111222#1F2247#323767#3B4291
#111222#1F2251#30337E#494EA1