#251B3C color
The hex color #251B3C is a very dark, desaturated violet.
In the RGB color model it is made of 14.5% red, 10.6% green and 23.5% blue (37, 27, 60).
Its hue angle is 258°, with 38% saturation and 17% lightness. For print, the CMYK equivalent is 38% cyan, 55% magenta, 0% yellow and 76% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.15:1).
#251B3C color codes
| HEX | #251B3C | |
|---|---|---|
| RGB | rgb(37, 27, 60) | |
| RGB percent | rgb(14.5%, 10.6%, 23.5%) | |
| HSL | hsl(258, 38%, 17%) | |
| HSV / HSB | hsv(258, 55%, 24%) | |
| CMYK | cmyk(38%, 55%, 0%, 76%) | |
| CIE LAB | lab(12.63, 13.95, -19.58) | |
| CIE LCH | lch(12.63, 24.04, 305.46) | |
| CIE XYZ | xyz(1.97, 1.503, 4.46) | |
| Decimal | 2431804 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #251B3C, 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 #251B3C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.15:1 | Pass | Pass | Pass |
| #251B3C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.15:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #251B3C looks to people with the most common types of color vision deficiency.
#10213dProtanopia
no red cones#12203bDeuteranopia
no green cones#202128Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #251b3c; }
.text { color: #251b3c; }
.border { border: 2px solid #251b3c; }
.transparent { background-color: rgb(37 27 60 / 50%); }
.gradient { background: linear-gradient(to right, #251b3c, #361b3c); }
Similar colors
#2a2243Midnight Velvet#1c0f33Midnight Monarch#222244Black Market#211d49Azulado#2a2551Pāua#231c4dSilent Orbit#301934Dark Purple#161d3bNightwalker
Questions
- What color is #251B3C?
- #251B3C is a very dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the purple family of colors.
- What is the RGB value of #251B3C?
- The RGB value is 37, 27, 60: 37 red, 27 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #251B3C?
- The complementary color is #323C1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #251B3C?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.15:1. WCAG asks for at least 4.5:1 for normal text.