#24274E color
The hex color #24274E is a dark, desaturated blue.
In the RGB color model it is made of 14.1% red, 15.3% green and 30.6% blue (36, 39, 78).
Its hue angle is 236°, with 37% saturation and 22% lightness. For print, the CMYK equivalent is 54% cyan, 50% magenta, 0% yellow and 69% black.
The closest named color is Deep Sea Base (#2C2C57), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.24:1).
#24274E color codes
| HEX | #24274E | |
|---|---|---|
| RGB | rgb(36, 39, 78) | |
| RGB percent | rgb(14.1%, 15.3%, 30.6%) | |
| HSL | hsl(236, 37%, 22%) | |
| HSV / HSB | hsv(236, 54%, 31%) | |
| CMYK | cmyk(54%, 50%, 0%, 69%) | |
| CIE LAB | lab(17.35, 11.19, -24.54) | |
| CIE LCH | lch(17.35, 26.97, 294.51) | |
| CIE XYZ | xyz(2.828, 2.376, 7.516) | |
| Decimal | 2369358 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #24274E, 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 #24274E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.24:1 | Pass | Pass | Pass |
| #24274E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.24:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #24274E looks to people with the most common types of color vision deficiency.
#172c4fProtanopia
no red cones#13294dDeuteranopia
no green cones#142f36Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #24274e; }
.text { color: #24274e; }
.border { border: 2px solid #24274e; }
.transparent { background-color: rgb(36 39 78 / 50%); }
.gradient { background: linear-gradient(to right, #24274e, #36244e); }
Similar colors
#2c2c57Deep Sea Base#222244Black Market#1d2951Space Cadet#2a2551Pāua#322c56Purple Noir#222255Spacescape#1c1e4dFly-by-Night#2e305eGalaxea
Closest common color name: Oxford Blue.
Questions
- What color is #24274E?
- #24274E is a dark, desaturated blue, closest to the named color Deep Sea Base. It belongs to the blue family of colors.
- What is the RGB value of #24274E?
- The RGB value is 36, 39, 78: 36 red, 39 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #24274E?
- The complementary color is #4E4B24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #24274E?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.24:1. WCAG asks for at least 4.5:1 for normal text.