#0F0C30 color

#0F0C30 rgb(15, 12, 48)
Shades of black

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

In the RGB color model it is made of 5.9% red, 4.7% green and 18.8% blue (15, 12, 48).

Its hue angle is 245°, with 60% saturation and 12% lightness. For print, the CMYK equivalent is 69% cyan, 75% magenta, 0% yellow and 81% black.

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

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

#0F0C30 color codes

HEX#0F0C30
RGBrgb(15, 12, 48)
RGB percentrgb(5.9%, 4.7%, 18.8%)
HSLhsl(245, 60%, 12%)
HSV / HSBhsv(245, 75%, 19%)
CMYKcmyk(69%, 75%, 0%, 81%)
CIE LABlab(5.22, 12.8, -22.88)
CIE LCHlch(5.22, 26.22, 299.22)
CIE XYZxyz(0.862, 0.578, 2.862)
Decimal986160
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #0f0c30; }
.text { color: #0f0c30; }
.border { border: 2px solid #0f0c30; }
.transparent { background-color: rgb(15 12 48 / 50%); }
.gradient { background: linear-gradient(to right, #0f0c30, #210c30); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #0F0C30?
#0F0C30 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 #0F0C30?
The RGB value is 15, 12, 48: 15 red, 12 green and 48 blue on a 0 to 255 scale.
What is the complementary color of #0F0C30?
The complementary color is #2D300C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0F0C30?
White text. Black text has a contrast ratio of 1.12:1 and white text 18.82:1. WCAG asks for at least 4.5:1 for normal text.