Infinity
Infinity is a very dark, muted blue color with the hex code #222831 (hue 216°, saturation 18%, lightness 16%).
- HEX
#222831 - RGB
rgb(34 40 49) - HSL
hsl(216 18% 16%) - OKLCH
oklch(27.5% 0.019 258)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Infinity | #222831 | 34, 40, 49 | 216°, 18%, 16% | 31, 18, 0, 81 | 27.5% 0.019 258 |
Contrast with white text 14.83:1, with black text 1.42:1 — use white text on Infinity.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Infinity
Move the sliders to make Infinity lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#222831 - RGB
rgb(34 40 49) - HSL
hsl(216 18% 16%)
Variations of Infinity
Text on Infinity
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Infinity with color blindness
How Infinity appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Infinity
Six color schemes built on Infinity with classic harmony rules. The complementary scheme pairs it with Vanilla Bean Brown (#362C1D), the color opposite it on the color wheel.
- Infinity Complementary Color Scheme#222831#44556B#362C1D#14100E#756244
- Infinity Analogous Color Scheme#1C352D#1F3636#222831#281F3F#2E183B
- Infinity Triadic Color Scheme#222831#3B1F23#2F2E1F#445771#130D0D
- Infinity Split-complementary Color Scheme#222831#2E211B#2F2E1F#0B0C14#63403A
- Infinity Tetradic Color Scheme#222831#391531#362C1D#1B3427#445771
- Infinity Monochromatic Color Scheme#0F1012#0F1012#222831#434D5C#627188
Nearest CSS named colors
- Midnight Blue (
midnightblue): Midnight Blue (#191970) is about as light as Infinity (relative luminance 0.021 vs 0.021) and more saturated, with its hue 24° away. - Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Infinity (relative luminance 0.068 vs 0.021) and more saturated, with its hue 36° away. - Navy (
navy): Navy (#000080) is darker than Infinity (relative luminance 0.016 vs 0.021) and more saturated, with its hue 24° away. - Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is lighter than Infinity (relative luminance 0.066 vs 0.021) and more saturated, with its hue 32° away.
Similar very dark blue colors
- Astral Nomad#203943
- Azulado#211D49
- Beyond the Stars#0A3251
- Black Pearl#1E272C
- Black Velvet#222233
- Blue Whale#1E3442
- Cinder#242A2E
- Corbeau#111122
- Dark#1B2431
- Dark Eclipse#112244
- Dark Knight#151931
- Dark Soul#112255
- Deadly Depths#111144
- Eclipse Elixir#1F2133
- Eigengrau#16161D
- Endless Galaxy#000044
- Eternal Darkness#1C2841
- Illicit Darkness#00022E
Questions
What is the hex code for Infinity?
#222831 — RGB 34, 40, 49, HSL 216°, 18%, 16%.
Is Infinity a warm or cool color?
Cool — its hue sits at 216° on the color wheel.