#24306C color
The hex color #24306C is a dark, moderate blue.
In the RGB color model it is made of 14.1% red, 18.8% green and 42.4% blue (36, 48, 108).
Its hue angle is 230°, with 50% saturation and 28% lightness. For print, the CMYK equivalent is 67% cyan, 56% magenta, 0% yellow and 58% black.
The closest named color is Mythical Night (#1C2E63), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.25:1).
#24306C color codes
| HEX | #24306C | |
|---|---|---|
| RGB | rgb(36, 48, 108) | |
| RGB percent | rgb(14.1%, 18.8%, 42.4%) | |
| HSL | hsl(230, 50%, 28%) | |
| HSV / HSB | hsv(230, 67%, 42%) | |
| CMYK | cmyk(67%, 56%, 0%, 58%) | |
| CIE LAB | lab(22.2, 16.1, -36.59) | |
| CIE LCH | lch(22.2, 39.98, 293.74) | |
| CIE XYZ | xyz(4.49, 3.571, 14.637) | |
| Decimal | 2371692 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #24306C, 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 #24306C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.25:1 | Pass | Pass | Pass |
| #24306C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.25:1 | Pass | Pass | Pass |
| Sample text | 1.71: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 #24306C looks to people with the most common types of color vision deficiency.
#0a386eProtanopia
no red cones#00326bDeuteranopia
no green cones#003e49Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #24306c; }
.text { color: #24306c; }
.border { border: 2px solid #24306c; }
.transparent { background-color: rgb(36 48 108 / 50%); }
.gradient { background: linear-gradient(to right, #24306c, #3c246c); }
Similar colors
#1c2e63Mythical Night#1c3378Twilight Express#13336fAtlantic Navy#223382Deep Space Royal#0a2f7cBelow the Surface#082567Dark Sapphire#333c76Good Karma#2e305eGalaxea
Closest common color name: Midnight Blue.
Questions
- What color is #24306C?
- #24306C is a dark, moderate blue, closest to the named color Mythical Night. It belongs to the blue family of colors.
- What is the RGB value of #24306C?
- The RGB value is 36, 48, 108: 36 red, 48 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #24306C?
- The complementary color is #6C6024, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #24306C?
- White text. Black text has a contrast ratio of 1.71:1 and white text 12.25:1. WCAG asks for at least 4.5:1 for normal text.