#262D4C color
The hex color #262D4C is a dark, desaturated blue.
In the RGB color model it is made of 14.9% red, 17.6% green and 29.8% blue (38, 45, 76).
Its hue angle is 229°, with 33% saturation and 22% lightness. For print, the CMYK equivalent is 50% cyan, 41% magenta, 0% yellow and 70% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.44:1).
#262D4C color codes
| HEX | #262D4C | |
|---|---|---|
| RGB | rgb(38, 45, 76) | |
| RGB percent | rgb(14.9%, 17.6%, 29.8%) | |
| HSL | hsl(229, 33%, 22%) | |
| HSV / HSB | hsv(229, 50%, 30%) | |
| CMYK | cmyk(50%, 41%, 0%, 70%) | |
| CIE LAB | lab(19.27, 6.73, -20.14) | |
| CIE LCH | lch(19.27, 21.23, 288.47) | |
| CIE XYZ | xyz(3.042, 2.81, 7.218) | |
| Decimal | 2501964 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262D4C, 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 #262D4C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.44:1 | Pass | Pass | Pass |
| #262D4C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.44:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #262D4C looks to people with the most common types of color vision deficiency.
#22304dProtanopia
no red cones#1e2d4bDeuteranopia
no green cones#183338Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #262d4c; }
.text { color: #262d4c; }
.border { border: 2px solid #262d4c; }
.transparent { background-color: rgb(38 45 76 / 50%); }
.gradient { background: linear-gradient(to right, #262d4c, #32264c); }
Similar colors
#2c2e47Midnight Masquerade#2b3458Midnight Escapade#1d2951Space Cadet#2e3858Mediaeval Blue#1c2841Eternal Darkness#2c2c57Deep Sea Base#222244Black Market#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #262D4C?
- #262D4C is a dark, desaturated blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #262D4C?
- The RGB value is 38, 45, 76: 38 red, 45 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #262D4C?
- The complementary color is #4C4526, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262D4C?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.44:1. WCAG asks for at least 4.5:1 for normal text.