#1B3257 color
The hex color #1B3257 is a dark, moderate azure.
In the RGB color model it is made of 10.6% red, 19.6% green and 34.1% blue (27, 50, 87).
Its hue angle is 217°, with 53% saturation and 22% lightness. For print, the CMYK equivalent is 69% cyan, 43% magenta, 0% yellow and 66% black.
The closest named color is Midnight Ocean (#0F2D4D), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.8:1).
#1B3257 color codes
| HEX | #1B3257 | |
|---|---|---|
| RGB | rgb(27, 50, 87) | |
| RGB percent | rgb(10.6%, 19.6%, 34.1%) | |
| HSL | hsl(217, 53%, 22%) | |
| HSV / HSB | hsv(217, 69%, 34%) | |
| CMYK | cmyk(69%, 43%, 0%, 66%) | |
| CIE LAB | lab(20.84, 4.54, -25.07) | |
| CIE LCH | lch(20.84, 25.48, 280.27) | |
| CIE XYZ | xyz(3.312, 3.202, 9.458) | |
| Decimal | 1782359 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B3257, 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 #1B3257 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.64:1 | Fail | Fail | Fail |
| Sample text | 12.8:1 | Pass | Pass | Pass |
| #1B3257 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.8:1 | Pass | Pass | Pass |
| Sample text | 1.64: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 #1B3257 looks to people with the most common types of color vision deficiency.
#223558Protanopia
no red cones#193056Deuteranopia
no green cones#003a40Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #1b3257; }
.text { color: #1b3257; }
.border { border: 2px solid #1b3257; }
.transparent { background-color: rgb(27 50 87 / 50%); }
.gradient { background: linear-gradient(to right, #1b3257, #221b57); }
Similar colors
#0f2d4dMidnight Ocean#042e60Marine#1c2e63Mythical Night#273c5aNautilus#003368Neptune’s Dream#2b3458Midnight Escapade#1d2951Space Cadet#2e3858Mediaeval Blue
Closest common color name: Prussian Blue.
Questions
- What color is #1B3257?
- #1B3257 is a dark, moderate azure, closest to the named color Midnight Ocean. It belongs to the blue family of colors.
- What is the RGB value of #1B3257?
- The RGB value is 27, 50, 87: 27 red, 50 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #1B3257?
- The complementary color is #57401B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B3257?
- White text. Black text has a contrast ratio of 1.64:1 and white text 12.8:1. WCAG asks for at least 4.5:1 for normal text.