#0F1657

A dark, vivid blue closely aligning with Midnightblue.

About #0F1657

The hex code #0F1657 represents a beautifully specific shade of blue. Its closest recognized web color is Midnightblue. In the RGB color space, it consists of 15 red, 22 green, and 87 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 83% cyan, 75% magenta, 0% yellow, and 66% black. The HSL representation is 234.2° hue, 70.6% saturation, and 20.0% lightness.

Ensuring your text is legible against this background is a key part of web design. Because it is a dark color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#0F1657
RGB15, 22, 87
HSL234.2°, 70.6%, 20.0%
CMYK83%, 75%, 0%, 66%
HSV234.2°, 82.8%, 34.1%
LAB11.7, 23.1, -39.9
XYZ2.2, 1.4, 9.2
Decimal988759

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

16.50:1
Text on #FFFFFF
AAA
1.27:1
Text on #000000
FAIL
15.77:1
Text on #F8FAFC
AAA
1.08:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #0F1657; }
.text-color { color: #0F1657; }
.border-color { border: 2px solid #0F1657; }

Similar Colors

Midnightblue
#191970