#20256A color
The hex color #20256A is a dark, moderate blue.
In the RGB color model it is made of 12.5% red, 14.5% green and 41.6% blue (32, 37, 106).
Its hue angle is 236°, with 54% saturation and 27% lightness. For print, the CMYK equivalent is 70% cyan, 65% magenta, 0% yellow and 58% black.
The closest named color is Intergalactic Cowboy (#222266), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.69:1).
#20256A color codes
| HEX | #20256A | |
|---|---|---|
| RGB | rgb(32, 37, 106) | |
| RGB percent | rgb(12.5%, 14.5%, 41.6%) | |
| HSL | hsl(236, 54%, 27%) | |
| HSV / HSB | hsv(236, 70%, 42%) | |
| CMYK | cmyk(70%, 65%, 0%, 58%) | |
| CIE LAB | lab(18.67, 22.38, -41.03) | |
| CIE LCH | lch(18.67, 46.74, 298.61) | |
| CIE XYZ | xyz(3.858, 2.67, 13.945) | |
| Decimal | 2106730 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20256A, 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 #20256A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.69:1 | Pass | Pass | Pass |
| #20256A 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 #20256A looks to people with the most common types of color vision deficiency.
#00316cProtanopia
no red cones#002a69Deuteranopia
no green cones#003643Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #20256a; }
.text { color: #20256a; }
.border { border: 2px solid #20256a; }
.transparent { background-color: rgb(32 37 106 / 50%); }
.gradient { background: linear-gradient(to right, #20256a, #40206a); }
Similar colors
#222266Intergalactic Cowboy#112473Midnight Crest#082567Dark Sapphire#002266Midnight Melancholia#2e2364Indie Go#002366Deep Sea Nightmare#052462Black Sea Night#002277Long-Haul Flight
Closest common color name: Midnight Blue.
Questions
- What color is #20256A?
- #20256A is a dark, moderate blue, closest to the named color Intergalactic Cowboy. It belongs to the blue family of colors.
- What is the RGB value of #20256A?
- The RGB value is 32, 37, 106: 32 red, 37 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #20256A?
- The complementary color is #6A6520, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20256A?
- 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.