#274040 color
The hex color #274040 is a dark, grayish cyan.
In the RGB color model it is made of 15.3% red, 25.1% green and 25.1% blue (39, 64, 64).
Its hue angle is 180°, with 24% saturation and 20% lightness. For print, the CMYK equivalent is 39% cyan, 0% magenta, 0% yellow and 75% black.
The closest named color is Emerald Forest (#224347), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.09:1).
#274040 color codes
| HEX | #274040 | |
|---|---|---|
| RGB | rgb(39, 64, 64) | |
| RGB percent | rgb(15.3%, 25.1%, 25.1%) | |
| HSL | hsl(180, 24%, 20%) | |
| HSV / HSB | hsv(180, 39%, 25%) | |
| CMYK | cmyk(39%, 0%, 0%, 75%) | |
| CIE LAB | lab(25.16, -9.58, -3.06) | |
| CIE LCH | lch(25.16, 10.06, 197.73) | |
| CIE XYZ | xyz(3.595, 4.468, 5.522) | |
| Decimal | 2572352 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #274040, 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 #274040 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.89:1 | Fail | Fail | Fail |
| Sample text | 11.09:1 | Pass | Pass | Pass |
| #274040 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.09:1 | Pass | Pass | Pass |
| Sample text | 1.89: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 #274040 looks to people with the most common types of color vision deficiency.
#3d3e40Protanopia
no red cones#383a40Deuteranopia
no green cones#1d4240Tritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #274040; }
.text { color: #274040; }
.border { border: 2px solid #274040; }
.transparent { background-color: rgb(39 64 64 / 50%); }
.gradient { background: linear-gradient(to right, #274040, #273440); }
Similar colors
#224347Emerald Forest#27454aMysterious Waters#2d454aLittle Mermaid#1c3d44Sunken Harbour#1c3b42Royal Neptune#133337Elite Teal#2f4f4fDark Slate Gray#3c4f4eNight Watch
Questions
- What color is #274040?
- #274040 is a dark, grayish cyan, closest to the named color Emerald Forest. It belongs to the gray family of colors.
- What is the RGB value of #274040?
- The RGB value is 39, 64, 64: 39 red, 64 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #274040?
- The complementary color is #402727, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #274040?
- White text. Black text has a contrast ratio of 1.89:1 and white text 11.09:1. WCAG asks for at least 4.5:1 for normal text.