#22273A color
The hex color #22273A is a very dark, desaturated blue.
In the RGB color model it is made of 13.3% red, 15.3% green and 22.7% blue (34, 39, 58).
Its hue angle is 228°, with 26% saturation and 18% lightness. For print, the CMYK equivalent is 41% cyan, 33% magenta, 0% yellow and 77% black.
The closest named color is Midnight Express (#21263A), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.8:1).
#22273A color codes
| HEX | #22273A | |
|---|---|---|
| RGB | rgb(34, 39, 58) | |
| RGB percent | rgb(13.3%, 15.3%, 22.7%) | |
| HSL | hsl(228, 26%, 18%) | |
| HSV / HSB | hsv(228, 41%, 23%) | |
| CMYK | cmyk(41%, 33%, 0%, 77%) | |
| CIE LAB | lab(15.99, 3.51, -12.93) | |
| CIE LCH | lch(15.99, 13.39, 285.18) | |
| CIE XYZ | xyz(2.149, 2.097, 4.294) | |
| Decimal | 2238266 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #22273A, 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 #22273A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.8:1 | Pass | Pass | Pass |
| #22273A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.8:1 | Pass | Pass | Pass |
| Sample text | 1.42: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 #22273A looks to people with the most common types of color vision deficiency.
#21293bProtanopia
no red cones#1f273aDeuteranopia
no green cones#1b2b2eTritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #22273a; }
.text { color: #22273a; }
.border { border: 2px solid #22273a; }
.transparent { background-color: rgb(34 39 58 / 50%); }
.gradient { background: linear-gradient(to right, #22273a, #29223a); }
Similar colors
#21263aMidnight Express#1f2133Eclipse Elixir#1e2433Moonless Mystery#222233Black Velvet#1c2841Eternal Darkness#161e34Sombre Night#2c2e47Midnight Masquerade#333344Shuriken
Closest common color name: Oxford Blue.
Questions
- What color is #22273A?
- #22273A is a very dark, desaturated blue, closest to the named color Midnight Express. It belongs to the blue family of colors.
- What is the RGB value of #22273A?
- The RGB value is 34, 39, 58: 34 red, 39 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #22273A?
- The complementary color is #3A3522, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #22273A?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.8:1. WCAG asks for at least 4.5:1 for normal text.