#131951 color
The hex color #131951 is a very dark, moderate blue.
In the RGB color model it is made of 7.5% red, 9.8% green and 31.8% blue (19, 25, 81).
Its hue angle is 234°, with 62% saturation and 20% lightness. For print, the CMYK equivalent is 77% cyan, 69% magenta, 0% yellow and 68% black.
The closest named color is Fly-by-Night (#1C1E4D), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.34:1).
#131951 color codes
| HEX | #131951 | |
|---|---|---|
| RGB | rgb(19, 25, 81) | |
| RGB percent | rgb(7.5%, 9.8%, 31.8%) | |
| HSL | hsl(234, 62%, 20%) | |
| HSV / HSB | hsv(234, 77%, 32%) | |
| CMYK | cmyk(77%, 69%, 0%, 68%) | |
| CIE LAB | lab(12.14, 19.03, -35.07) | |
| CIE LCH | lch(12.14, 39.9, 298.49) | |
| CIE XYZ | xyz(2.101, 1.428, 7.948) | |
| Decimal | 1251665 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #131951, 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 #131951 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.34:1 | Pass | Pass | Pass |
| #131951 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.34:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #131951 looks to people with the most common types of color vision deficiency.
#002353Protanopia
no red cones#001d50Deuteranopia
no green cones#002732Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #131951; }
.text { color: #131951; }
.border { border: 2px solid #131951; }
.transparent { background-color: rgb(19 25 81 / 50%); }
.gradient { background: linear-gradient(to right, #131951, #2c1351); }
Similar colors
#1c1e4dFly-by-Night#111144Deadly Depths#222255Spacescape#001155Interstellar Blue#112255Dark Soul#231c4dSilent Orbit#112358Fibonacci Blue#000b44Storm
Closest common color name: Midnight Blue.
Questions
- What color is #131951?
- #131951 is a very dark, moderate blue, closest to the named color Fly-by-Night. It belongs to the blue family of colors.
- What is the RGB value of #131951?
- The RGB value is 19, 25, 81: 19 red, 25 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #131951?
- The complementary color is #514B13, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #131951?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.34:1. WCAG asks for at least 4.5:1 for normal text.