#1B1B87 color

#1B1B87 rgb(27, 27, 135)
Shades of blue

The hex color #1B1B87 is a dark, moderate blue.

In the RGB color model it is made of 10.6% red, 10.6% green and 52.9% blue (27, 27, 135).

Its hue angle is 240°, with 67% saturation and 32% lightness. For print, the CMYK equivalent is 80% cyan, 80% magenta, 0% yellow and 47% black.

The closest named color is Royal (#0C1793), a difference of 2 ΔE, a small difference.

White text is the more readable choice on this background (contrast 13.52:1).

#1B1B87 color codes

HEX#1B1B87
RGBrgb(27, 27, 135)
RGB percentrgb(10.6%, 10.6%, 52.9%)
HSLhsl(240, 67%, 32%)
HSV / HSBhsv(240, 80%, 53%)
CMYKcmyk(80%, 80%, 0%, 47%)
CIE LABlab(19.08, 38.8, -58.93)
CIE LCHlch(19.08, 70.56, 303.36)
CIE XYZxyz(5.216, 2.766, 23.176)
Decimal1776519
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1B1B87, 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 #1B1B87RatioAAAAAAA large
Sample text1.55:1FailFailFail
Sample text13.52:1PassPassPass
#1B1B87 as text onRatioAAAAAAA large
Sample text13.52:1PassPassPass
Sample text1.55:1FailFailFail

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 #1B1B87 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1b1b87; }
.text { color: #1b1b87; }
.border { border: 2px solid #1b1b87; }
.transparent { background-color: rgb(27 27 135 / 50%); }
.gradient { background: linear-gradient(to right, #1b1b87, #511b87); }
Background
Text color
Border

Similar colors

Questions

What color is #1B1B87?
#1B1B87 is a dark, moderate blue, closest to the named color Royal. It belongs to the blue family of colors.
What is the RGB value of #1B1B87?
The RGB value is 27, 27, 135: 27 red, 27 green and 135 blue on a 0 to 255 scale.
What is the complementary color of #1B1B87?
The complementary color is #87871B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1B1B87?
White text. Black text has a contrast ratio of 1.55:1 and white text 13.52:1. WCAG asks for at least 4.5:1 for normal text.