#242F3A color
The hex color #242F3A is a very dark, grayish azure.
In the RGB color model it is made of 14.1% red, 18.4% green and 22.7% blue (36, 47, 58).
Its hue angle is 210°, with 23% saturation and 18% lightness. For print, the CMYK equivalent is 38% cyan, 19% magenta, 0% yellow and 77% black.
The closest named color is Infinity (#222831), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.61:1).
#242F3A color codes
| HEX | #242F3A | |
|---|---|---|
| RGB | rgb(36, 47, 58) | |
| RGB percent | rgb(14.1%, 18.4%, 22.7%) | |
| HSL | hsl(210, 23%, 18%) | |
| HSV / HSB | hsv(210, 38%, 23%) | |
| CMYK | cmyk(38%, 19%, 0%, 77%) | |
| CIE LAB | lab(18.86, -1.4, -8.5) | |
| CIE LCH | lch(18.86, 8.62, 260.64) | |
| CIE XYZ | xyz(2.508, 2.713, 4.394) | |
| Decimal | 2371386 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #242F3A, 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 #242F3A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.61:1 | Pass | Pass | Pass |
| #242F3A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.61:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #242F3A looks to people with the most common types of color vision deficiency.
#2b2f3bProtanopia
no red cones#282d3aDeuteranopia
no green cones#1d3233Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #242f3a; }
.text { color: #242f3a; }
.border { border: 2px solid #242f3a; }
.transparent { background-color: rgb(36 47 58 / 50%); }
.gradient { background: linear-gradient(to right, #242f3a, #24243a); }
Similar colors
#222831Infinity#1e3442Blue Whale#243640Petrol Slumber#172b36Oceanic Noir#2a3439Gunmetal#1b2431Dark#293135Nightmare Fuel#242a2eCinder
Questions
- What color is #242F3A?
- #242F3A is a very dark, grayish azure, closest to the named color Infinity. It belongs to the black family of colors.
- What is the RGB value of #242F3A?
- The RGB value is 36, 47, 58: 36 red, 47 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #242F3A?
- The complementary color is #3A2F24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #242F3A?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.61:1. WCAG asks for at least 4.5:1 for normal text.