#305158 color
The hex color #305158 is a dark, desaturated cyan.
In the RGB color model it is made of 18.8% red, 31.8% green and 34.5% blue (48, 81, 88).
Its hue angle is 191°, with 29% saturation and 27% lightness. For print, the CMYK equivalent is 45% cyan, 8% magenta, 0% yellow and 65% black.
The closest named color is Sunken Mystery (#23505A), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.59:1).
#305158 color codes
| HEX | #305158 | |
|---|---|---|
| RGB | rgb(48, 81, 88) | |
| RGB percent | rgb(18.8%, 31.8%, 34.5%) | |
| HSL | hsl(191, 29%, 27%) | |
| HSV / HSB | hsv(191, 45%, 35%) | |
| CMYK | cmyk(45%, 8%, 0%, 65%) | |
| CIE LAB | lab(32.3, -9.95, -7.89) | |
| CIE LCH | lch(32.3, 12.7, 218.41) | |
| CIE XYZ | xyz(5.922, 7.217, 10.312) | |
| Decimal | 3166552 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #305158, 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 #305158 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.44:1 | Fail | Fail | Fail |
| Sample text | 8.59:1 | Pass | Pass | Pass |
| #305158 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.59:1 | Pass | Pass | Pass |
| Sample text | 2.44: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 #305158 looks to people with the most common types of color vision deficiency.
#4b4f58Protanopia
no red cones#454a58Deuteranopia
no green cones#1f5453Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #305158; }
.text { color: #305158; }
.border { border: 2px solid #305158; }
.transparent { background-color: rgb(48 81 88 / 50%); }
.gradient { background: linear-gradient(to right, #305158, #303d58); }
Similar colors
#23505aSunken Mystery#3b5760Great Void#2f4f4fDark Slate Gray#27454aMysterious Waters#344d58Nocturne#345c61Arctic Nights#2d454aLittle Mermaid#254855Mallard
Questions
- What color is #305158?
- #305158 is a dark, desaturated cyan, closest to the named color Sunken Mystery. It belongs to the gray family of colors.
- What is the RGB value of #305158?
- The RGB value is 48, 81, 88: 48 red, 81 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #305158?
- The complementary color is #583730, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #305158?
- White text. Black text has a contrast ratio of 2.44:1 and white text 8.59:1. WCAG asks for at least 4.5:1 for normal text.