#1B2B6E color
The hex color #1B2B6E is a dark, moderate blue.
In the RGB color model it is made of 10.6% red, 16.9% green and 43.1% blue (27, 43, 110).
Its hue angle is 228°, with 61% saturation and 27% lightness. For print, the CMYK equivalent is 75% cyan, 61% magenta, 0% yellow and 57% black.
The closest named color is Dark Sapphire (#082567), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.98:1).
#1B2B6E color codes
| HEX | #1B2B6E | |
|---|---|---|
| RGB | rgb(27, 43, 110) | |
| RGB percent | rgb(10.6%, 16.9%, 43.1%) | |
| HSL | hsl(228, 61%, 27%) | |
| HSV / HSB | hsv(228, 75%, 43%) | |
| CMYK | cmyk(75%, 61%, 0%, 57%) | |
| CIE LAB | lab(20.39, 18.94, -40.85) | |
| CIE LCH | lch(20.39, 45.03, 294.87) | |
| CIE XYZ | xyz(4.129, 3.086, 15.127) | |
| Decimal | 1780590 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B2B6E, 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 #1B2B6E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.98:1 | Pass | Pass | Pass |
| #1B2B6E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.98:1 | Pass | Pass | Pass |
| Sample text | 1.62: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 #1B2B6E looks to people with the most common types of color vision deficiency.
#003570Protanopia
no red cones#002d6dDeuteranopia
no green cones#003c48Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #1b2b6e; }
.text { color: #1b2b6e; }
.border { border: 2px solid #1b2b6e; }
.transparent { background-color: rgb(27 43 110 / 50%); }
.gradient { background: linear-gradient(to right, #1b2b6e, #341b6e); }
Similar colors
#082567Dark Sapphire#112473Midnight Crest#1c2e63Mythical Night#1c3378Twilight Express#002366Deep Sea Nightmare#052462Black Sea Night#0a2f7cBelow the Surface#002266Midnight Melancholia
Closest common color name: Midnight Blue.
Questions
- What color is #1B2B6E?
- #1B2B6E is a dark, moderate blue, closest to the named color Dark Sapphire. It belongs to the blue family of colors.
- What is the RGB value of #1B2B6E?
- The RGB value is 27, 43, 110: 27 red, 43 green and 110 blue on a 0 to 255 scale.
- What is the complementary color of #1B2B6E?
- The complementary color is #6E5E1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B2B6E?
- White text. Black text has a contrast ratio of 1.62:1 and white text 12.98:1. WCAG asks for at least 4.5:1 for normal text.