#304F54 color
The hex color #304F54 is a dark, desaturated cyan.
In the RGB color model it is made of 18.8% red, 31% green and 32.9% blue (48, 79, 84).
Its hue angle is 188°, with 27% saturation and 26% lightness. For print, the CMYK equivalent is 43% cyan, 6% magenta, 0% yellow and 67% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.85:1).
#304F54 color codes
| HEX | #304F54 | |
|---|---|---|
| RGB | rgb(48, 79, 84) | |
| RGB percent | rgb(18.8%, 31%, 32.9%) | |
| HSL | hsl(188, 27%, 26%) | |
| HSV / HSB | hsv(188, 43%, 33%) | |
| CMYK | cmyk(43%, 6%, 0%, 67%) | |
| CIE LAB | lab(31.49, -9.95, -6.56) | |
| CIE LCH | lch(31.49, 11.92, 213.41) | |
| CIE XYZ | xyz(5.615, 6.86, 9.414) | |
| Decimal | 3166036 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304F54, 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 #304F54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.37:1 | Fail | Fail | Fail |
| Sample text | 8.85:1 | Pass | Pass | Pass |
| #304F54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.85:1 | Pass | Pass | Pass |
| Sample text | 2.37: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 #304F54 looks to people with the most common types of color vision deficiency.
#4a4d54Protanopia
no red cones#444854Deuteranopia
no green cones#215250Tritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #304f54; }
.text { color: #304f54; }
.border { border: 2px solid #304f54; }
.transparent { background-color: rgb(48 79 84 / 50%); }
.gradient { background: linear-gradient(to right, #304f54, #303d54); }
Similar colors
#2f4f4fDark Slate Gray#23505aSunken Mystery#27454aMysterious Waters#2d454aLittle Mermaid#3b5760Great Void#3c4f4eNight Watch#224347Emerald Forest#344d58Nocturne
Questions
- What color is #304F54?
- #304F54 is a dark, desaturated cyan, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #304F54?
- The RGB value is 48, 79, 84: 48 red, 79 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #304F54?
- The complementary color is #543530, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304F54?
- White text. Black text has a contrast ratio of 2.37:1 and white text 8.85:1. WCAG asks for at least 4.5:1 for normal text.