#131938 color
The hex color #131938 is a very dark, desaturated blue.
In the RGB color model it is made of 7.5% red, 9.8% green and 22% blue (19, 25, 56).
Its hue angle is 230°, with 49% saturation and 15% lightness. For print, the CMYK equivalent is 66% cyan, 55% magenta, 0% yellow and 78% black.
The closest named color is Nightwalker (#161D3B), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.16:1).
#131938 color codes
| HEX | #131938 | |
|---|---|---|
| RGB | rgb(19, 25, 56) | |
| RGB percent | rgb(7.5%, 9.8%, 22%) | |
| HSL | hsl(230, 49%, 15%) | |
| HSV / HSB | hsv(230, 66%, 22%) | |
| CMYK | cmyk(66%, 55%, 0%, 78%) | |
| CIE LAB | lab(9.95, 8.64, -21.12) | |
| CIE LCH | lch(9.95, 22.81, 292.25) | |
| CIE XYZ | xyz(1.33, 1.119, 3.887) | |
| Decimal | 1251640 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #131938, 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 #131938 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.16:1 | Pass | Pass | Pass |
| #131938 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.16:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #131938 looks to people with the most common types of color vision deficiency.
#0a1d39Protanopia
no red cones#061a37Deuteranopia
no green cones#012025Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #131938; }
.text { color: #131938; }
.border { border: 2px solid #131938; }
.transparent { background-color: rgb(19 25 56 / 50%); }
.gradient { background: linear-gradient(to right, #131938, #1f1338); }
Similar colors
#161d3bNightwalker#151931Dark Knight#041330Squid’s Ink#071037Infinite Night#222244Black Market#060929Mysterious Depths#112244Dark Eclipse#161e34Sombre Night
Closest common color name: Oxford Blue.
Questions
- What color is #131938?
- #131938 is a very dark, desaturated blue, closest to the named color Nightwalker. It belongs to the black family of colors.
- What is the RGB value of #131938?
- The RGB value is 19, 25, 56: 19 red, 25 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #131938?
- The complementary color is #383213, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #131938?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.16:1. WCAG asks for at least 4.5:1 for normal text.