#22314F color
The hex color #22314F is a dark, desaturated blue.
In the RGB color model it is made of 13.3% red, 19.2% green and 31% blue (34, 49, 79).
Its hue angle is 220°, with 40% saturation and 22% lightness. For print, the CMYK equivalent is 57% cyan, 38% magenta, 0% yellow and 69% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.96:1).
#22314F color codes
| HEX | #22314F | |
|---|---|---|
| RGB | rgb(34, 49, 79) | |
| RGB percent | rgb(13.3%, 19.2%, 31%) | |
| HSL | hsl(220, 40%, 22%) | |
| HSV / HSB | hsv(220, 57%, 31%) | |
| CMYK | cmyk(57%, 38%, 0%, 69%) | |
| CIE LAB | lab(20.44, 3.84, -20.33) | |
| CIE LCH | lch(20.44, 20.68, 280.7) | |
| CIE XYZ | xyz(3.169, 3.101, 7.827) | |
| Decimal | 2240847 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #22314F, 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 #22314F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.96:1 | Pass | Pass | Pass |
| #22314F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.96:1 | Pass | Pass | Pass |
| Sample text | 1.62: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 #22314F looks to people with the most common types of color vision deficiency.
#253450Protanopia
no red cones#202f4eDeuteranopia
no green cones#0c383cTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #22314f; }
.text { color: #22314f; }
.border { border: 2px solid #22314f; }
.transparent { background-color: rgb(34 49 79 / 50%); }
.gradient { background: linear-gradient(to right, #22314f, #2a224f); }
Similar colors
#2e3858Mediaeval Blue#2b3458Midnight Escapade#1c2841Eternal Darkness#0f2d4dMidnight Ocean#273c5aNautilus#1d2951Space Cadet#2c2e47Midnight Masquerade#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #22314F?
- #22314F is a dark, desaturated blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of #22314F?
- The RGB value is 34, 49, 79: 34 red, 49 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #22314F?
- The complementary color is #4F4022, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #22314F?
- White text. Black text has a contrast ratio of 1.62:1 and white text 12.96:1. WCAG asks for at least 4.5:1 for normal text.