#262D76 color
The hex color #262D76 is a dark, moderate blue.
In the RGB color model it is made of 14.9% red, 17.6% green and 46.3% blue (38, 45, 118).
Its hue angle is 235°, with 51% saturation and 31% lightness. For print, the CMYK equivalent is 68% cyan, 62% magenta, 0% yellow and 54% black.
The closest named color is Deep Space Royal (#223382), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.21:1).
#262D76 color codes
| HEX | #262D76 | |
|---|---|---|
| RGB | rgb(38, 45, 118) | |
| RGB percent | rgb(14.9%, 17.6%, 46.3%) | |
| HSL | hsl(235, 51%, 31%) | |
| HSV / HSB | hsv(235, 68%, 46%) | |
| CMYK | cmyk(68%, 62%, 0%, 54%) | |
| CIE LAB | lab(22.29, 22.39, -42.86) | |
| CIE LCH | lch(22.29, 48.36, 297.58) | |
| CIE XYZ | xyz(5.007, 3.596, 17.566) | |
| Decimal | 2502006 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262D76, 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 #262D76 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.72:1 | Fail | Fail | Fail |
| Sample text | 12.21:1 | Pass | Pass | Pass |
| #262D76 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.21:1 | Pass | Pass | Pass |
| Sample text | 1.72: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 #262D76 looks to people with the most common types of color vision deficiency.
#003978Protanopia
no red cones#003275Deuteranopia
no green cones#003f4dTritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #262d76; }
.text { color: #262d76; }
.border { border: 2px solid #262d76; }
.transparent { background-color: rgb(38 45 118 / 50%); }
.gradient { background: linear-gradient(to right, #262d76, #472676); }
Similar colors
#223382Deep Space Royal#273287Intergalactic Highway#1c3378Twilight Express#112473Midnight Crest#0a2f7cBelow the Surface#222266Intergalactic Cowboy#082567Dark Sapphire#002277Long-Haul Flight
Closest common color name: Midnight Blue.
Questions
- What color is #262D76?
- #262D76 is a dark, moderate blue, closest to the named color Deep Space Royal. It belongs to the blue family of colors.
- What is the RGB value of #262D76?
- The RGB value is 38, 45, 118: 38 red, 45 green and 118 blue on a 0 to 255 scale.
- What is the complementary color of #262D76?
- The complementary color is #766F26, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262D76?
- White text. Black text has a contrast ratio of 1.72:1 and white text 12.21:1. WCAG asks for at least 4.5:1 for normal text.