#151730 color

#151730 rgb(21, 23, 48)
Shades of black

The hex color #151730 is a very dark, desaturated blue.

In the RGB color model it is made of 8.2% red, 9% green and 18.8% blue (21, 23, 48).

Its hue angle is 236°, with 39% saturation and 14% lightness. For print, the CMYK equivalent is 56% cyan, 52% magenta, 0% yellow and 81% black.

The closest named color is Dark Knight (#151931), a difference of 1.2 ΔE, which is barely visible.

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

#151730 color codes

HEX#151730
RGBrgb(21, 23, 48)
RGB percentrgb(8.2%, 9%, 18.8%)
HSLhsl(236, 39%, 14%)
HSV / HSBhsv(236, 56%, 19%)
CMYKcmyk(56%, 52%, 0%, 81%)
CIE LABlab(8.87, 7.55, -17.02)
CIE LCHlch(8.87, 18.62, 293.93)
CIE XYZxyz(1.149, 0.986, 2.925)
Decimal1382192
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #151730, 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 #151730RatioAAAAAAA large
Sample text1.2:1FailFailFail
Sample text17.54:1PassPassPass
#151730 as text onRatioAAAAAAA large
Sample text17.54:1PassPassPass
Sample text1.2: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 #151730 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #151730; }
.text { color: #151730; }
.border { border: 2px solid #151730; }
.transparent { background-color: rgb(21 23 48 / 50%); }
.gradient { background: linear-gradient(to right, #151730, #201530); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #151730?
#151730 is a very dark, desaturated blue, closest to the named color Dark Knight. It belongs to the black family of colors.
What is the RGB value of #151730?
The RGB value is 21, 23, 48: 21 red, 23 green and 48 blue on a 0 to 255 scale.
What is the complementary color of #151730?
The complementary color is #302E15, found by rotating the hue 180° on the color wheel.
Is black or white text better on #151730?
White text. Black text has a contrast ratio of 1.2:1 and white text 17.54:1. WCAG asks for at least 4.5:1 for normal text.