#21264B color
The hex color #21264B is a dark, desaturated blue.
In the RGB color model it is made of 12.9% red, 14.9% green and 29.4% blue (33, 38, 75).
Its hue angle is 233°, with 39% saturation and 21% lightness. For print, the CMYK equivalent is 56% cyan, 49% magenta, 0% yellow and 71% black.
The closest named color is Black Market (#222244), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.55:1).
#21264B color codes
| HEX | #21264B | |
|---|---|---|
| RGB | rgb(33, 38, 75) | |
| RGB percent | rgb(12.9%, 14.9%, 29.4%) | |
| HSL | hsl(233, 39%, 21%) | |
| HSV / HSB | hsv(233, 56%, 29%) | |
| CMYK | cmyk(56%, 49%, 0%, 71%) | |
| CIE LAB | lab(16.59, 9.99, -23.73) | |
| CIE LCH | lch(16.59, 25.75, 292.83) | |
| CIE XYZ | xyz(2.59, 2.217, 6.947) | |
| Decimal | 2172491 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21264B, 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 #21264B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.55:1 | Pass | Pass | Pass |
| #21264B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.55:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #21264B looks to people with the most common types of color vision deficiency.
#172b4cProtanopia
no red cones#12274aDeuteranopia
no green cones#102e34Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #21264b; }
.text { color: #21264b; }
.border { border: 2px solid #21264b; }
.transparent { background-color: rgb(33 38 75 / 50%); }
.gradient { background: linear-gradient(to right, #21264b, #31214b); }
Similar colors
#222244Black Market#1d2951Space Cadet#2c2c57Deep Sea Base#2a2551Pāua#1c1e4dFly-by-Night#112244Dark Eclipse#161d3bNightwalker#222255Spacescape
Closest common color name: Oxford Blue.
Questions
- What color is #21264B?
- #21264B is a dark, desaturated blue, closest to the named color Black Market. It belongs to the blue family of colors.
- What is the RGB value of #21264B?
- The RGB value is 33, 38, 75: 33 red, 38 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #21264B?
- The complementary color is #4B4621, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21264B?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.55:1. WCAG asks for at least 4.5:1 for normal text.