#3131B7 color
The hex color #3131B7 is a moderate blue.
In the RGB color model it is made of 19.2% red, 19.2% green and 71.8% blue (49, 49, 183).
Its hue angle is 240°, with 58% saturation and 45% lightness. For print, the CMYK equivalent is 73% cyan, 73% magenta, 0% yellow and 28% black.
The closest named color is Sapphire Splendour (#2425B9), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.32:1).
#3131B7 color codes
| HEX | #3131B7 | |
|---|---|---|
| RGB | rgb(49, 49, 183) | |
| RGB percent | rgb(19.2%, 19.2%, 71.8%) | |
| HSL | hsl(240, 58%, 45%) | |
| HSV / HSB | hsv(240, 73%, 72%) | |
| CMYK | cmyk(73%, 73%, 0%, 28%) | |
| CIE LAB | lab(30.08, 44.38, -70) | |
| CIE LCH | lch(30.08, 82.88, 302.38) | |
| CIE XYZ | xyz(10.909, 6.267, 45.425) | |
| Decimal | 3223991 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3131B7, 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 #3131B7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.32:1 | Pass | Pass | Pass |
| #3131B7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.32:1 | Pass | Pass | Pass |
| Sample text | 2.25: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 #3131B7 looks to people with the most common types of color vision deficiency.
#004dbbProtanopia
no red cones#0040b5Deuteranopia
no green cones#005771Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #3131b7; }
.text { color: #3131b7; }
.border { border: 2px solid #3131b7; }
.transparent { background-color: rgb(49 49 183 / 50%); }
.gradient { background: linear-gradient(to right, #3131b7, #7431b7); }
Similar colors
#2425b9Sapphire Splendour#1c39bbPersian Blue#0033ccSapphire Glitter#0034abBlue Hour#2c319bDepths of Night#1034a6Egyptian Blue#002fa6International Klein Blue#333399Bluebell
Questions
- What color is #3131B7?
- #3131B7 is a moderate blue, closest to the named color Sapphire Splendour. It belongs to the blue family of colors.
- What is the RGB value of #3131B7?
- The RGB value is 49, 49, 183: 49 red, 49 green and 183 blue on a 0 to 255 scale.
- What is the complementary color of #3131B7?
- The complementary color is #B7B731, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3131B7?
- White text. Black text has a contrast ratio of 2.25:1 and white text 9.32:1. WCAG asks for at least 4.5:1 for normal text.