#0F171B color

#0F171B rgb(15, 23, 27)
Shades of black

The hex color #0F171B is a very dark, desaturated azure.

In the RGB color model it is made of 5.9% red, 9% green and 10.6% blue (15, 23, 27).

Its hue angle is 200°, with 29% saturation and 8% lightness. For print, the CMYK equivalent is 44% cyan, 15% magenta, 0% yellow and 89% black.

The closest named color is Black Stallion (#0E191C), a difference of 2 ΔE, a small difference.

White text is the more readable choice on this background (contrast 18.12:1).

#0F171B color codes

HEX#0F171B
RGBrgb(15, 23, 27)
RGB percentrgb(5.9%, 9%, 10.6%)
HSLhsl(200, 29%, 8%)
HSV / HSBhsv(200, 44%, 11%)
CMYKcmyk(44%, 15%, 0%, 89%)
CIE LABlab(7.17, -2.17, -3.97)
CIE LCHlch(7.17, 4.53, 241.36)
CIE XYZxyz(0.701, 0.793, 1.153)
Decimal988955
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0F171B, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #0F171BRatioAAAAAAA large
Sample text1.16:1FailFailFail
Sample text18.12:1PassPassPass
#0F171B as text onRatioAAAAAAA large
Sample text18.12:1PassPassPass
Sample text1.16:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #0F171B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0f171b; }
.text { color: #0f171b; }
.border { border: 2px solid #0f171b; }
.transparent { background-color: rgb(15 23 27 / 50%); }
.gradient { background: linear-gradient(to right, #0f171b, #0f111b); }
Background
Text color
Border

Similar colors

Questions

What color is #0F171B?
#0F171B is a very dark, desaturated azure, closest to the named color Black Stallion. It belongs to the black family of colors.
What is the RGB value of #0F171B?
The RGB value is 15, 23, 27: 15 red, 23 green and 27 blue on a 0 to 255 scale.
What is the complementary color of #0F171B?
The complementary color is #1B130F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0F171B?
White text. Black text has a contrast ratio of 1.16:1 and white text 18.12:1. WCAG asks for at least 4.5:1 for normal text.