#254242 color
The hex color #254242 is a dark, desaturated cyan.
In the RGB color model it is made of 14.5% red, 25.9% green and 25.9% blue (37, 66, 66).
Its hue angle is 180°, with 28% saturation and 20% lightness. For print, the CMYK equivalent is 44% cyan, 0% magenta, 0% yellow and 74% black.
The closest named color is Emerald Forest (#224347), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.84:1).
#254242 color codes
| HEX | #254242 | |
|---|---|---|
| RGB | rgb(37, 66, 66) | |
| RGB percent | rgb(14.5%, 25.9%, 25.9%) | |
| HSL | hsl(180, 28%, 20%) | |
| HSV / HSB | hsv(180, 44%, 26%) | |
| CMYK | cmyk(44%, 0%, 0%, 74%) | |
| CIE LAB | lab(25.81, -10.85, -3.43) | |
| CIE LCH | lch(25.81, 11.38, 197.55) | |
| CIE XYZ | xyz(3.694, 4.683, 5.862) | |
| Decimal | 2441794 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #254242, 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 #254242 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.94:1 | Fail | Fail | Fail |
| Sample text | 10.84:1 | Pass | Pass | Pass |
| #254242 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.84:1 | Pass | Pass | Pass |
| Sample text | 1.94: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 #254242 looks to people with the most common types of color vision deficiency.
#3f3f42Protanopia
no red cones#393b42Deuteranopia
no green cones#184442Tritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #254242; }
.text { color: #254242; }
.border { border: 2px solid #254242; }
.transparent { background-color: rgb(37 66 66 / 50%); }
.gradient { background: linear-gradient(to right, #254242, #253442); }
Similar colors
#224347Emerald Forest#27454aMysterious Waters#2d454aLittle Mermaid#1c3d44Sunken Harbour#2f4f4fDark Slate Gray#1c3b42Royal Neptune#12403cBotanical Night#133337Elite Teal
Questions
- What color is #254242?
- #254242 is a dark, desaturated cyan, closest to the named color Emerald Forest. It belongs to the gray family of colors.
- What is the RGB value of #254242?
- The RGB value is 37, 66, 66: 37 red, 66 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #254242?
- The complementary color is #422525, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #254242?
- White text. Black text has a contrast ratio of 1.94:1 and white text 10.84:1. WCAG asks for at least 4.5:1 for normal text.