#304145 color
The hex color #304145 is a dark, grayish cyan.
In the RGB color model it is made of 18.8% red, 25.5% green and 27.1% blue (48, 65, 69).
Its hue angle is 191°, with 18% saturation and 23% lightness. For print, the CMYK equivalent is 30% cyan, 6% magenta, 0% yellow and 73% black.
The closest named color is Little Mermaid (#2D454A), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.67:1).
#304145 color codes
| HEX | #304145 | |
|---|---|---|
| RGB | rgb(48, 65, 69) | |
| RGB percent | rgb(18.8%, 25.5%, 27.1%) | |
| HSL | hsl(191, 18%, 23%) | |
| HSV / HSB | hsv(191, 30%, 27%) | |
| CMYK | cmyk(30%, 6%, 0%, 73%) | |
| CIE LAB | lab(26.27, -5.66, -4.65) | |
| CIE LCH | lch(26.27, 7.33, 219.39) | |
| CIE XYZ | xyz(4.183, 4.838, 6.343) | |
| Decimal | 3162437 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304145, 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 #304145 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.97:1 | Fail | Fail | Fail |
| Sample text | 10.67:1 | Pass | Pass | Pass |
| #304145 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.67:1 | Pass | Pass | Pass |
| Sample text | 1.97: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 #304145 looks to people with the most common types of color vision deficiency.
#3e4045Protanopia
no red cones#3a3d45Deuteranopia
no green cones#294342Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #304145; }
.text { color: #304145; }
.border { border: 2px solid #304145; }
.transparent { background-color: rgb(48 65 69 / 50%); }
.gradient { background: linear-gradient(to right, #304145, #303645); }
Similar colors
#2d454aLittle Mermaid#3d474bLights Out#27454aMysterious Waters#303a40Tempest in a Teapot#36454fCharcoal#203943Astral Nomad#1c3b42Royal Neptune#414a4cDark Space
Questions
- What color is #304145?
- #304145 is a dark, grayish cyan, closest to the named color Little Mermaid. It belongs to the gray family of colors.
- What is the RGB value of #304145?
- The RGB value is 48, 65, 69: 48 red, 65 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #304145?
- The complementary color is #453430, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304145?
- White text. Black text has a contrast ratio of 1.97:1 and white text 10.67:1. WCAG asks for at least 4.5:1 for normal text.