#0F004A color

#0F004A rgb(15, 0, 74)
Shades of black

The hex color #0F004A is a very dark, vivid violet.

In the RGB color model it is made of 5.9% red, 0% green and 29% blue (15, 0, 74).

Its hue angle is 252°, with 100% saturation and 15% lightness. For print, the CMYK equivalent is 80% cyan, 100% magenta, 0% yellow and 71% black.

The closest named color is Silent Twilight (#0F084B), a difference of 1.9 ΔE, which is barely visible.

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

#0F004A color codes

HEX#0F004A
RGBrgb(15, 0, 74)
RGB percentrgb(5.9%, 0%, 29%)
HSLhsl(252, 100%, 15%)
HSV / HSBhsv(252, 100%, 29%)
CMYKcmyk(80%, 100%, 0%, 71%)
CIE LABlab(5.38, 31.35, -41.37)
CIE LCHlch(5.38, 51.9, 307.15)
CIE XYZxyz(1.433, 0.596, 6.517)
Decimal983114
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #0f004a; }
.text { color: #0f004a; }
.border { border: 2px solid #0f004a; }
.transparent { background-color: rgb(15 0 74 / 50%); }
.gradient { background: linear-gradient(to right, #0f004a, #34004a); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #0F004A?
#0F004A is a very dark, vivid violet, closest to the named color Silent Twilight. It belongs to the black family of colors.
What is the RGB value of #0F004A?
The RGB value is 15, 0, 74: 15 red, 0 green and 74 blue on a 0 to 255 scale.
What is the complementary color of #0F004A?
The complementary color is #3B4A00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0F004A?
White text. Black text has a contrast ratio of 1.12:1 and white text 18.76:1. WCAG asks for at least 4.5:1 for normal text.