#242A4F color
The hex color #242A4F is a dark, desaturated blue.
In the RGB color model it is made of 14.1% red, 16.5% green and 31% blue (36, 42, 79).
Its hue angle is 232°, with 37% saturation and 23% lightness. For print, the CMYK equivalent is 54% cyan, 47% magenta, 0% yellow and 69% black.
The closest named color is Space Cadet (#1D2951), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.82:1).
#242A4F color codes
| HEX | #242A4F | |
|---|---|---|
| RGB | rgb(36, 42, 79) | |
| RGB percent | rgb(14.1%, 16.5%, 31%) | |
| HSL | hsl(232, 37%, 23%) | |
| HSV / HSB | hsv(232, 54%, 31%) | |
| CMYK | cmyk(54%, 47%, 0%, 69%) | |
| CIE LAB | lab(18.34, 9.39, -23.64) | |
| CIE LCH | lch(18.34, 25.43, 291.66) | |
| CIE XYZ | xyz(2.966, 2.595, 7.74) | |
| Decimal | 2370127 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #242A4F, 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 #242A4F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.82:1 | Pass | Pass | Pass |
| #242A4F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.82:1 | Pass | Pass | Pass |
| Sample text | 1.52: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 #242A4F looks to people with the most common types of color vision deficiency.
#1b2f50Protanopia
no red cones#172b4eDeuteranopia
no green cones#133238Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #242a4f; }
.text { color: #242a4f; }
.border { border: 2px solid #242a4f; }
.transparent { background-color: rgb(36 42 79 / 50%); }
.gradient { background: linear-gradient(to right, #242a4f, #33244f); }
Similar colors
#1d2951Space Cadet#2c2c57Deep Sea Base#222244Black Market#2b3458Midnight Escapade#2e305eGalaxea#2a2551Pāua#322c56Purple Noir#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #242A4F?
- #242A4F is a dark, desaturated blue, closest to the named color Space Cadet. It belongs to the blue family of colors.
- What is the RGB value of #242A4F?
- The RGB value is 36, 42, 79: 36 red, 42 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #242A4F?
- The complementary color is #4F4924, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #242A4F?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.82:1. WCAG asks for at least 4.5:1 for normal text.