#212435 color
The hex color #212435 is a very dark, grayish blue.
In the RGB color model it is made of 12.9% red, 14.1% green and 20.8% blue (33, 36, 53).
Its hue angle is 231°, with 23% saturation and 17% lightness. For print, the CMYK equivalent is 38% cyan, 32% magenta, 0% yellow and 79% black.
The closest named color is Eclipse Elixir (#1F2133), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.35:1).
#212435 color codes
| HEX | #212435 | |
|---|---|---|
| RGB | rgb(33, 36, 53) | |
| RGB percent | rgb(12.9%, 14.1%, 20.8%) | |
| HSL | hsl(231, 23%, 17%) | |
| HSV / HSB | hsv(231, 38%, 21%) | |
| CMYK | cmyk(38%, 32%, 0%, 79%) | |
| CIE LAB | lab(14.64, 3.66, -11.51) | |
| CIE LCH | lch(14.64, 12.08, 287.65) | |
| CIE XYZ | xyz(1.901, 1.842, 3.623) | |
| Decimal | 2171957 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212435, 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 #212435 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.35:1 | Pass | Pass | Pass |
| #212435 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.35:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #212435 looks to people with the most common types of color vision deficiency.
#1f2636Protanopia
no red cones#1e2435Deuteranopia
no green cones#1c272aTritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #212435; }
.text { color: #212435; }
.border { border: 2px solid #212435; }
.transparent { background-color: rgb(33 36 53 / 50%); }
.gradient { background: linear-gradient(to right, #212435, #282135); }
Similar colors
#1f2133Eclipse Elixir#21263aMidnight Express#222233Black Velvet#1e2433Moonless Mystery#161e34Sombre Night#2c2a35Haiti#1c2841Eternal Darkness#1b2431Dark
Closest common color name: Oxford Blue.
Questions
- What color is #212435?
- #212435 is a very dark, grayish blue, closest to the named color Eclipse Elixir. It belongs to the gray family of colors.
- What is the RGB value of #212435?
- The RGB value is 33, 36, 53: 33 red, 36 green and 53 blue on a 0 to 255 scale.
- What is the complementary color of #212435?
- The complementary color is #353221, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212435?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.35:1. WCAG asks for at least 4.5:1 for normal text.