#0F172A

Tailwind slate-900

#0F172A is a blue colour. In RGB it is 15 red, 23 green and 42 blue, which converts to a hue of 222 degrees, 47% saturation and 11% lightness. It is Tailwind slate-900 in that design system's palette.

Color values

HEX#0F172A
RGBrgb(15, 23, 42)
HSLhsl(222, 47%, 11%)
HSVhsv(222, 64%, 16%)
CMYKcmyk(64%, 45%, 0%, 84%)

Contrast and accessibility

Against white the contrast ratio is 17.85:1, and against black it is 1.18:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

BackgroundRatioNormal textLarge text
White17.85:1AAAAAA
Black1.18:1FailFail

Tints and shades

Lighter tints move #0F172A toward white, and darker shades move it toward black.

Tints

Shades

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Code

CSScolor: #0F172A;
CSS rgb()color: rgb(15 23 42);
Tailwindbg-[#0f172a]
SwiftUIColor(red: 0.059, green: 0.090, blue: 0.165)
AndroidColor.parseColor("#0F172A")

Closest named color

The nearest CSS colour keyword to #0F172A is black (#000000).

Related tools