#0F004A color
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 | |
|---|---|---|
| RGB | rgb(15, 0, 74) | |
| RGB percent | rgb(5.9%, 0%, 29%) | |
| HSL | hsl(252, 100%, 15%) | |
| HSV / HSB | hsv(252, 100%, 29%) | |
| CMYK | cmyk(80%, 100%, 0%, 71%) | |
| CIE LAB | lab(5.38, 31.35, -41.37) | |
| CIE LCH | lch(5.38, 51.9, 307.15) | |
| CIE XYZ | xyz(1.433, 0.596, 6.517) | |
| Decimal | 983114 | |
| Short hex | None (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 #0F004A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.12:1 | Fail | Fail | Fail |
| Sample text | 18.76:1 | Pass | Pass | Pass |
| #0F004A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.76:1 | Pass | Pass | Pass |
| Sample text | 1.12:1 | Fail | Fail | Fail |
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.
#00154cProtanopia
no red cones#000f49Deuteranopia
no green cones#001928Tritanopia
no blue cones#121212Achromatopsia
no color vision
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); }
Similar colors
#0f084bSilent Twilight#0a0555Ravenclaw#000044Endless Galaxy#220044Your Darkness#150f5bSpace Colonisation#000b44Storm#110066The Vast of Night#001155Interstellar Blue
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.