Cosmic color: hex code #B8B9CB
Cosmic has the hex code #B8B9CB. It is a light, grayish blue.
In the RGB color model it is made of 72.2% red, 72.5% green and 79.6% blue (184, 185, 203).
Its hue angle is 237°, with 15% saturation and 76% lightness. For print, the CMYK equivalent is 9% cyan, 9% magenta, 0% yellow and 20% black.
Black text is the more readable choice on this background (contrast 10.84:1).
Cosmic (#B8B9CB) color codes
| HEX | #B8B9CB | |
|---|---|---|
| RGB | rgb(184, 185, 203) | |
| RGB percent | rgb(72.2%, 72.5%, 79.6%) | |
| HSL | hsl(237, 15%, 76%) | |
| HSV / HSB | hsv(237, 9%, 80%) | |
| CMYK | cmyk(9%, 9%, 0%, 20%) | |
| CIE LAB | lab(75.58, 3.16, -9.17) | |
| CIE LCH | lch(75.58, 9.7, 288.98) | |
| CIE XYZ | xyz(47.893, 49.2, 63.462) | |
| Decimal | 12106187 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Cosmic, 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 #B8B9CB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.84:1 | Pass | Pass | Pass |
| Sample text | 1.94:1 | Fail | Fail | Fail |
| #B8B9CB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.94:1 | Fail | Fail | Fail |
| Sample text | 10.84:1 | Pass | Pass | Pass |
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 #B8B9CB looks to people with the most common types of color vision deficiency.
#b5bbccProtanopia
no red cones#b4bacaDeuteranopia
no green cones#b4bcbfTritanopia
no blue cones#bababaAchromatopsia
no color vision
CSS examples
.background { background-color: #b8b9cb; }
.text { color: #b8b9cb; }
.border { border: 2px solid #b8b9cb; }
.transparent { background-color: rgb(184 185 203 / 50%); }
.gradient { background: linear-gradient(to right, #b8b9cb, #c1b8cb); }
Similar colors
#bdbaceBlue Haze#b7bdd1Violet Vision#b3b2bfNebulous December#b6bdd0Arctic Ice#b0b8ccEthereal Mist#bfc1cbSlipper Satin#bdbcc4Silver Fox#b8bfdcStardust Evening
Closest common color name: Light Purple.
See #B8B9CB on its hex code page
Questions
- What color is #B8B9CB?
- #B8B9CB is a light, grayish blue known as Cosmic. It belongs to the gray family of colors.
- What is the RGB value of Cosmic?
- The RGB value is 184, 185, 203: 184 red, 185 green and 203 blue on a 0 to 255 scale.
- What is the complementary color of Cosmic?
- The complementary color is #CBCAB8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B8B9CB?
- Black text. Black text has a contrast ratio of 10.84:1 and white text 1.94:1. WCAG asks for at least 4.5:1 for normal text.