#262C47 color
The hex color #262C47 is a dark, desaturated blue.
In the RGB color model it is made of 14.9% red, 17.3% green and 27.8% blue (38, 44, 71).
Its hue angle is 229°, with 30% saturation and 21% lightness. For print, the CMYK equivalent is 46% cyan, 38% magenta, 0% yellow and 72% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.69:1).
#262C47 color codes
| HEX | #262C47 | |
|---|---|---|
| RGB | rgb(38, 44, 71) | |
| RGB percent | rgb(14.9%, 17.3%, 27.8%) | |
| HSL | hsl(229, 30%, 21%) | |
| HSV / HSB | hsv(229, 46%, 28%) | |
| CMYK | cmyk(46%, 38%, 0%, 72%) | |
| CIE LAB | lab(18.66, 5.69, -17.7) | |
| CIE LCH | lch(18.66, 18.59, 287.83) | |
| CIE XYZ | xyz(2.837, 2.668, 6.326) | |
| Decimal | 2501703 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262C47, 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 #262C47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.69:1 | Pass | Pass | Pass |
| #262C47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.69: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 #262C47 looks to people with the most common types of color vision deficiency.
#232f48Protanopia
no red cones#202c46Deuteranopia
no green cones#1b3136Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #262c47; }
.text { color: #262c47; }
.border { border: 2px solid #262c47; }
.transparent { background-color: rgb(38 44 71 / 50%); }
.gradient { background: linear-gradient(to right, #262c47, #312647); }
Similar colors
#2c2e47Midnight Masquerade#1c2841Eternal Darkness#21263aMidnight Express#2b3458Midnight Escapade#2e3858Mediaeval Blue#1d2951Space Cadet#222244Black Market#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #262C47?
- #262C47 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 #262C47?
- The RGB value is 38, 44, 71: 38 red, 44 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #262C47?
- The complementary color is #474126, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262C47?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.69:1. WCAG asks for at least 4.5:1 for normal text.