#242839 color
The hex color #242839 is a very dark, grayish blue.
In the RGB color model it is made of 14.1% red, 15.7% green and 22.4% blue (36, 40, 57).
Its hue angle is 229°, with 23% saturation and 18% lightness. For print, the CMYK equivalent is 37% cyan, 30% magenta, 0% yellow and 78% black.
The closest named color is Midnight Express (#21263A), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.61:1).
#242839 color codes
| HEX | #242839 | |
|---|---|---|
| RGB | rgb(36, 40, 57) | |
| RGB percent | rgb(14.1%, 15.7%, 22.4%) | |
| HSL | hsl(229, 23%, 18%) | |
| HSV / HSB | hsv(229, 37%, 22%) | |
| CMYK | cmyk(37%, 30%, 0%, 78%) | |
| CIE LAB | lab(16.44, 3.18, -11.5) | |
| CIE LCH | lch(16.44, 11.94, 285.44) | |
| CIE XYZ | xyz(2.225, 2.188, 4.175) | |
| Decimal | 2369593 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #242839, 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 #242839 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.61:1 | Pass | Pass | Pass |
| #242839 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.61:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #242839 looks to people with the most common types of color vision deficiency.
#232a3aProtanopia
no red cones#212839Deuteranopia
no green cones#1e2b2eTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #242839; }
.text { color: #242839; }
.border { border: 2px solid #242839; }
.transparent { background-color: rgb(36 40 57 / 50%); }
.gradient { background: linear-gradient(to right, #242839, #2b2439); }
Similar colors
#21263aMidnight Express#1e2433Moonless Mystery#1f2133Eclipse Elixir#222233Black Velvet#1c2841Eternal Darkness#2c2a35Haiti#161e34Sombre Night#333344Shuriken
Closest common color name: Oxford Blue.
Questions
- What color is #242839?
- #242839 is a very dark, grayish blue, closest to the named color Midnight Express. It belongs to the black family of colors.
- What is the RGB value of #242839?
- The RGB value is 36, 40, 57: 36 red, 40 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #242839?
- The complementary color is #393524, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #242839?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.61:1. WCAG asks for at least 4.5:1 for normal text.