#4A5162 color
The hex color #4A5162 is a dark, grayish blue.
In the RGB color model it is made of 29% red, 31.8% green and 38.4% blue (74, 81, 98).
Its hue angle is 223°, with 14% saturation and 34% lightness. For print, the CMYK equivalent is 24% cyan, 17% magenta, 0% yellow and 62% black.
The closest named color is Black Orchid (#525463), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.94:1).
#4A5162 color codes
| HEX | #4A5162 | |
|---|---|---|
| RGB | rgb(74, 81, 98) | |
| RGB percent | rgb(29%, 31.8%, 38.4%) | |
| HSL | hsl(223, 14%, 34%) | |
| HSV / HSB | hsv(223, 24%, 38%) | |
| CMYK | cmyk(24%, 17%, 0%, 62%) | |
| CIE LAB | lab(34.44, 1.43, -10.8) | |
| CIE LCH | lch(34.44, 10.9, 277.55) | |
| CIE XYZ | xyz(7.971, 8.222, 12.72) | |
| Decimal | 4870498 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4A5162, 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 #4A5162 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.64:1 | Fail | Fail | Fail |
| Sample text | 7.94:1 | Pass | Pass | Pass |
| #4A5162 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.94:1 | Pass | Pass | Pass |
| Sample text | 2.64: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 #4A5162 looks to people with the most common types of color vision deficiency.
#4c5263Protanopia
no red cones#4a5062Deuteranopia
no green cones#445457Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #4a5162; }
.text { color: #4a5162; }
.border { border: 2px solid #4a5162; }
.transparent { background-color: rgb(74 81 98 / 50%); }
.gradient { background: linear-gradient(to right, #4a5162, #4f4a62); }
Similar colors
#525463Black Orchid#4f566cHeavy Violet#545663Blackwater#425267Into the Stratosphere#44556bInkjet#4d5a6bStorm Rising#424753Midnight Sky#494c55Deep Night
Closest common color name: Charcoal.
Questions
- What color is #4A5162?
- #4A5162 is a dark, grayish blue, closest to the named color Black Orchid. It belongs to the gray family of colors.
- What is the RGB value of #4A5162?
- The RGB value is 74, 81, 98: 74 red, 81 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #4A5162?
- The complementary color is #625B4A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4A5162?
- White text. Black text has a contrast ratio of 2.64:1 and white text 7.94:1. WCAG asks for at least 4.5:1 for normal text.