#151938 color

#151938 rgb(21, 25, 56)
Shades of black

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

In the RGB color model it is made of 8.2% red, 9.8% green and 22% blue (21, 25, 56).

Its hue angle is 233°, with 45% saturation and 15% lightness. For print, the CMYK equivalent is 62% cyan, 55% magenta, 0% yellow and 78% black.

The closest named color is Nightwalker (#161D3B), a difference of 1.7 ΔE, which is barely visible.

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

#151938 color codes

HEX#151938
RGBrgb(21, 25, 56)
RGB percentrgb(8.2%, 9.8%, 22%)
HSLhsl(233, 45%, 15%)
HSV / HSBhsv(233, 63%, 22%)
CMYKcmyk(62%, 55%, 0%, 78%)
CIE LABlab(10.11, 9.16, -20.85)
CIE LCHlch(10.11, 22.77, 293.72)
CIE XYZxyz(1.37, 1.14, 3.888)
Decimal1382712
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #151938; }
.text { color: #151938; }
.border { border: 2px solid #151938; }
.transparent { background-color: rgb(21 25 56 / 50%); }
.gradient { background: linear-gradient(to right, #151938, #221538); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #151938?
#151938 is a very dark, desaturated blue, closest to the named color Nightwalker. It belongs to the black family of colors.
What is the RGB value of #151938?
The RGB value is 21, 25, 56: 21 red, 25 green and 56 blue on a 0 to 255 scale.
What is the complementary color of #151938?
The complementary color is #383415, found by rotating the hue 180° on the color wheel.
Is black or white text better on #151938?
White text. Black text has a contrast ratio of 1.23:1 and white text 17.1:1. WCAG asks for at least 4.5:1 for normal text.