#242D42 color
The hex color #242D42 is a dark, desaturated blue.
In the RGB color model it is made of 14.1% red, 17.6% green and 25.9% blue (36, 45, 66).
Its hue angle is 222°, with 29% saturation and 20% lightness. For print, the CMYK equivalent is 45% cyan, 32% magenta, 0% yellow and 74% black.
The closest named color is Eternal Darkness (#1C2841), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.73:1).
#242D42 color codes
| HEX | #242D42 | |
|---|---|---|
| RGB | rgb(36, 45, 66) | |
| RGB percent | rgb(14.1%, 17.6%, 25.9%) | |
| HSL | hsl(222, 29%, 20%) | |
| HSV / HSB | hsv(222, 45%, 26%) | |
| CMYK | cmyk(45%, 32%, 0%, 74%) | |
| CIE LAB | lab(18.56, 2.62, -14.45) | |
| CIE LCH | lch(18.56, 14.69, 280.28) | |
| CIE XYZ | xyz(2.649, 2.645, 5.524) | |
| Decimal | 2370882 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #242D42, 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 #242D42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.73:1 | Pass | Pass | Pass |
| #242D42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.73: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 #242D42 looks to people with the most common types of color vision deficiency.
#262f43Protanopia
no red cones#232c42Deuteranopia
no green cones#1a3134Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #242d42; }
.text { color: #242d42; }
.border { border: 2px solid #242d42; }
.transparent { background-color: rgb(36 45 66 / 50%); }
.gradient { background: linear-gradient(to right, #242d42, #2a2442); }
Similar colors
#1c2841Eternal Darkness#21263aMidnight Express#1e2433Moonless Mystery#2c2e47Midnight Masquerade#303543Total Eclipse#333344Shuriken#1f2133Eclipse Elixir#161e34Sombre Night
Closest common color name: Oxford Blue.
Questions
- What color is #242D42?
- #242D42 is a dark, desaturated blue, closest to the named color Eternal Darkness. It belongs to the blue family of colors.
- What is the RGB value of #242D42?
- The RGB value is 36, 45, 66: 36 red, 45 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #242D42?
- The complementary color is #423924, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #242D42?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.73:1. WCAG asks for at least 4.5:1 for normal text.