#305862 color
The hex color #305862 is a dark, desaturated cyan.
In the RGB color model it is made of 18.8% red, 34.5% green and 38.4% blue (48, 88, 98).
Its hue angle is 192°, with 34% saturation and 29% lightness. For print, the CMYK equivalent is 51% cyan, 10% magenta, 0% yellow and 62% black.
The closest named color is Night Shift (#2A5C6A), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.78:1).
#305862 color codes
| HEX | #305862 | |
|---|---|---|
| RGB | rgb(48, 88, 98) | |
| RGB percent | rgb(18.8%, 34.5%, 38.4%) | |
| HSL | hsl(192, 34%, 29%) | |
| HSV / HSB | hsv(192, 51%, 38%) | |
| CMYK | cmyk(51%, 10%, 0%, 62%) | |
| CIE LAB | lab(34.98, -11.04, -10.14) | |
| CIE LCH | lch(34.98, 14.99, 222.58) | |
| CIE XYZ | xyz(6.912, 8.489, 12.827) | |
| Decimal | 3168354 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #305862, 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 #305862 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.7:1 | Fail | Fail | Fail |
| Sample text | 7.78:1 | Pass | Pass | Pass |
| #305862 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.78:1 | Pass | Pass | Pass |
| Sample text | 2.7: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 #305862 looks to people with the most common types of color vision deficiency.
#515663Protanopia
no red cones#495062Deuteranopia
no green cones#165c5bTritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #305862; }
.text { color: #305862; }
.border { border: 2px solid #305862; }
.transparent { background-color: rgb(48 88 98 / 50%); }
.gradient { background: linear-gradient(to right, #305862, #303f62); }
Similar colors
#2a5c6aNight Shift#395d68Under the Sea#3b5760Great Void#345c61Arctic Nights#23505aSunken Mystery#33616aAfter the Storm#39636aMediterranea#336172Atlantis
Closest common color name: Dark Slate Gray.
Questions
- What color is #305862?
- #305862 is a dark, desaturated cyan, closest to the named color Night Shift. It belongs to the teal family of colors.
- What is the RGB value of #305862?
- The RGB value is 48, 88, 98: 48 red, 88 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #305862?
- The complementary color is #623A30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #305862?
- White text. Black text has a contrast ratio of 2.7:1 and white text 7.78:1. WCAG asks for at least 4.5:1 for normal text.