#12115C color
The hex color #12115C is a dark, moderate blue.
In the RGB color model it is made of 7.1% red, 6.7% green and 36.1% blue (18, 17, 92).
Its hue angle is 241°, with 69% saturation and 21% lightness. For print, the CMYK equivalent is 80% cyan, 82% magenta, 0% yellow and 64% black.
The closest named color is Space Colonisation (#150F5B), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.66:1).
#12115C color codes
| HEX | #12115C | |
|---|---|---|
| RGB | rgb(18, 17, 92) | |
| RGB percent | rgb(7.1%, 6.7%, 36.1%) | |
| HSL | hsl(241, 69%, 21%) | |
| HSV / HSB | hsv(241, 82%, 36%) | |
| CMYK | cmyk(80%, 82%, 0%, 64%) | |
| CIE LAB | lab(11.29, 28.67, -43.93) | |
| CIE LCH | lch(11.29, 52.46, 303.14) | |
| CIE XYZ | xyz(2.381, 1.302, 10.249) | |
| Decimal | 1184092 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12115C, 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 #12115C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.66:1 | Pass | Pass | Pass |
| #12115C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.66:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #12115C looks to people with the most common types of color vision deficiency.
#00225eProtanopia
no red cones#001a5bDeuteranopia
no green cones#002736Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #12115c; }
.text { color: #12115c; }
.border { border: 2px solid #12115c; }
.transparent { background-color: rgb(18 17 92 / 50%); }
.gradient { background: linear-gradient(to right, #12115c, #37115c); }
Similar colors
#150f5bSpace Colonisation#111166Dying Storm Blue#001155Interstellar Blue#0a0555Ravenclaw#0f084bSilent Twilight#191970Midnight Blue#19197020000 Leagues Under the Sea#2d135fVoldemort
Questions
- What color is #12115C?
- #12115C is a dark, moderate blue, closest to the named color Space Colonisation. It belongs to the black family of colors.
- What is the RGB value of #12115C?
- The RGB value is 18, 17, 92: 18 red, 17 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #12115C?
- The complementary color is #5B5C11, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12115C?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.66:1. WCAG asks for at least 4.5:1 for normal text.