#222236 color
The hex color #222236 is a very dark, grayish blue.
In the RGB color model it is made of 13.3% red, 13.3% green and 21.2% blue (34, 34, 54).
Its hue angle is 240°, with 23% saturation and 17% lightness. For print, the CMYK equivalent is 37% cyan, 37% magenta, 0% yellow and 79% black.
The closest named color is Black Velvet (#222233), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.55:1).
#222236 color codes
| HEX | #222236 | |
|---|---|---|
| RGB | rgb(34, 34, 54) | |
| RGB percent | rgb(13.3%, 13.3%, 21.2%) | |
| HSL | hsl(240, 23%, 17%) | |
| HSV / HSB | hsv(240, 37%, 21%) | |
| CMYK | cmyk(37%, 37%, 0%, 79%) | |
| CIE LAB | lab(14.12, 5.81, -13.01) | |
| CIE LCH | lch(14.12, 14.25, 294.08) | |
| CIE XYZ | xyz(1.897, 1.75, 3.727) | |
| Decimal | 2236982 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222236, 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 #222236 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.55:1 | Pass | Pass | Pass |
| #222236 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.55:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #222236 looks to people with the most common types of color vision deficiency.
#1c2537Protanopia
no red cones#1b2335Deuteranopia
no green cones#1d2629Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #222236; }
.text { color: #222236; }
.border { border: 2px solid #222236; }
.transparent { background-color: rgb(34 34 54 / 50%); }
.gradient { background: linear-gradient(to right, #222236, #2c2236); }
Similar colors
#222233Black Velvet#1f2133Eclipse Elixir#21263aMidnight Express#161e34Sombre Night#151931Dark Knight#2c2e47Midnight Masquerade#1e2433Moonless Mystery#161d3bNightwalker
Closest common color name: Oxford Blue.
Questions
- What color is #222236?
- #222236 is a very dark, grayish blue, closest to the named color Black Velvet. It belongs to the blue family of colors.
- What is the RGB value of #222236?
- The RGB value is 34, 34, 54: 34 red, 34 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #222236?
- The complementary color is #363622, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222236?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.55:1. WCAG asks for at least 4.5:1 for normal text.