#0D0D31 color

#0D0D31 rgb(13, 13, 49)
Shades of black

The hex color #0D0D31 is a very dark, moderate blue.

In the RGB color model it is made of 5.1% red, 5.1% green and 19.2% blue (13, 13, 49).

Its hue angle is 240°, with 58% saturation and 12% lightness. For print, the CMYK equivalent is 73% cyan, 73% magenta, 0% yellow and 81% black.

The closest named color is Infinite Night (#071037), a difference of 2 ΔE, a small difference.

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

#0D0D31 color codes

HEX#0D0D31
RGBrgb(13, 13, 49)
RGB percentrgb(5.1%, 5.1%, 19.2%)
HSLhsl(240, 58%, 12%)
HSV / HSBhsv(240, 73%, 19%)
CMYKcmyk(73%, 73%, 0%, 81%)
CIE LABlab(5.38, 12.22, -23.38)
CIE LCHlch(5.38, 26.38, 297.59)
CIE XYZxyz(0.864, 0.595, 2.974)
Decimal855345
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0D0D31, 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 #0D0D31RatioAAAAAAA large
Sample text1.12:1FailFailFail
Sample text18.77:1PassPassPass
#0D0D31 as text onRatioAAAAAAA large
Sample text18.77:1PassPassPass
Sample text1.12: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 #0D0D31 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0d0d31; }
.text { color: #0d0d31; }
.border { border: 2px solid #0d0d31; }
.transparent { background-color: rgb(13 13 49 / 50%); }
.gradient { background: linear-gradient(to right, #0d0d31, #1f0d31); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #0D0D31?
#0D0D31 is a very dark, moderate blue, closest to the named color Infinite Night. It belongs to the black family of colors.
What is the RGB value of #0D0D31?
The RGB value is 13, 13, 49: 13 red, 13 green and 49 blue on a 0 to 255 scale.
What is the complementary color of #0D0D31?
The complementary color is #31310D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0D0D31?
White text. Black text has a contrast ratio of 1.12:1 and white text 18.77:1. WCAG asks for at least 4.5:1 for normal text.