#0F3A42

A very dark, moderate cyan closely aligning with Darkslategray.

About #0F3A42

The precise color #0F3A42 is an excellent choice for modern design projects. It is closely associated with the named CSS color Darkslategray. In the RGB color space, it consists of 15 red, 58 green, and 66 blue.

For print applications, it's crucial to understand its CMYK makeup. The color uses 77% Cyan, 12% Magenta, 0% Yellow, and 74% Black. The HSL representation is 189.4° hue, 63.0% saturation, and 15.9% lightness.

Ensuring your text is legible against this background is a key part of web design. Because it is a very dark color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#0F3A42
RGB15, 58, 66
HSL189.4°, 63.0%, 15.9%
CMYK77%, 12%, 0%, 74%
HSV189.4°, 77.3%, 25.9%
LAB22.0, -11.4, -9.2
XYZ2.7, 3.5, 5.7
Decimal997954

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

12.32:1
Text on #FFFFFF
AAA
1.70:1
Text on #000000
FAIL
11.78:1
Text on #F8FAFC
AAA
1.45:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Darkslategray
#2F4F4F