#1B2F38 color
The hex color #1B2F38 is a very dark, desaturated azure.
In the RGB color model it is made of 10.6% red, 18.4% green and 22% blue (27, 47, 56).
Its hue angle is 199°, with 35% saturation and 16% lightness. For print, the CMYK equivalent is 52% cyan, 16% magenta, 0% yellow and 78% black.
The closest named color is Oceanic Noir (#172B36), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.9:1).
#1B2F38 color codes
| HEX | #1B2F38 | |
|---|---|---|
| RGB | rgb(27, 47, 56) | |
| RGB percent | rgb(10.6%, 18.4%, 22%) | |
| HSL | hsl(199, 35%, 16%) | |
| HSV / HSB | hsv(199, 52%, 22%) | |
| CMYK | cmyk(52%, 16%, 0%, 78%) | |
| CIE LAB | lab(18.15, -5.09, -8.26) | |
| CIE LCH | lch(18.15, 9.7, 238.34) | |
| CIE XYZ | xyz(2.182, 2.551, 4.118) | |
| Decimal | 1781560 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B2F38, 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 #1B2F38 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.9:1 | Pass | Pass | Pass |
| #1B2F38 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.9:1 | Pass | Pass | Pass |
| Sample text | 1.51: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 #1B2F38 looks to people with the most common types of color vision deficiency.
#2a2e38Protanopia
no red cones#262b38Deuteranopia
no green cones#0e3232Tritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #1b2f38; }
.text { color: #1b2f38; }
.border { border: 2px solid #1b2f38; }
.transparent { background-color: rgb(27 47 56 / 50%); }
.gradient { background: linear-gradient(to right, #1b2f38, #1b2038); }
Similar colors
#172b36Oceanic Noir#243640Petrol Slumber#1e3642Into the Night#1e3442Blue Whale#203943Astral Nomad#0f282fBlack Box#2a3439Gunmetal#10252aSunken Ship
Questions
- What color is #1B2F38?
- #1B2F38 is a very dark, desaturated azure, closest to the named color Oceanic Noir. It belongs to the black family of colors.
- What is the RGB value of #1B2F38?
- The RGB value is 27, 47, 56: 27 red, 47 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #1B2F38?
- The complementary color is #38241B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B2F38?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.9:1. WCAG asks for at least 4.5:1 for normal text.