#242F34 color
The hex color #242F34 is a very dark, grayish azure.
In the RGB color model it is made of 14.1% red, 18.4% green and 20.4% blue (36, 47, 52).
Its hue angle is 199°, with 18% saturation and 17% lightness. For print, the CMYK equivalent is 31% cyan, 10% magenta, 0% yellow and 80% black.
The closest named color is Nightmare Fuel (#293135), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.71:1).
#242F34 color codes
| HEX | #242F34 | |
|---|---|---|
| RGB | rgb(36, 47, 52) | |
| RGB percent | rgb(14.1%, 18.4%, 20.4%) | |
| HSL | hsl(199, 18%, 17%) | |
| HSV / HSB | hsv(199, 31%, 20%) | |
| CMYK | cmyk(31%, 10%, 0%, 80%) | |
| CIE LAB | lab(18.61, -3.23, -4.73) | |
| CIE LCH | lch(18.61, 5.73, 235.66) | |
| CIE XYZ | xyz(2.364, 2.656, 3.636) | |
| Decimal | 2371380 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #242F34, 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 #242F34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.71:1 | Pass | Pass | Pass |
| #242F34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.71:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #242F34 looks to people with the most common types of color vision deficiency.
#2c2e34Protanopia
no red cones#2a2c34Deuteranopia
no green cones#1f3131Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #242f34; }
.text { color: #242f34; }
.border { border: 2px solid #242f34; }
.transparent { background-color: rgb(36 47 52 / 50%); }
.gradient { background: linear-gradient(to right, #242f34, #242734); }
Similar colors
#293135Nightmare Fuel#2a3439Gunmetal#1e272cBlack Pearl#242a2eCinder#243640Petrol Slumber#303a40Tempest in a Teapot#262a2bGraphite Black#172b36Oceanic Noir
Questions
- What color is #242F34?
- #242F34 is a very dark, grayish azure, closest to the named color Nightmare Fuel. It belongs to the black family of colors.
- What is the RGB value of #242F34?
- The RGB value is 36, 47, 52: 36 red, 47 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #242F34?
- The complementary color is #342924, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #242F34?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.71:1. WCAG asks for at least 4.5:1 for normal text.