#0F0F50

A very dark, moderate blue closely aligning with Midnightblue.

About #0F0F50

The hex code #0F0F50 represents a beautifully specific shade of blue. It is closely associated with the named CSS color Midnightblue. This translates to an RGB value of rgb(15, 15, 80).

Translating this color to physical media requires the CMYK color model. The color uses 81% Cyan, 81% Magenta, 0% Yellow, and 69% Black. The HSL representation is 240.0° hue, 68.4% saturation, and 18.6% lightness.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a very 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#0F0F50
RGB15, 15, 80
HSL240.0°, 68.4%, 18.6%
CMYK81%, 81%, 0%, 69%
HSV240.0°, 81.2%, 31.4%
LAB9.2, 25.1, -39.3
XYZ1.8, 1.0, 7.7
Decimal986960

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

17.43:1
Text on #FFFFFF
AAA
1.20:1
Text on #000000
FAIL
16.66:1
Text on #F8FAFC
AAA
1.02:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970