#5F6A6D color
The hex color #5F6A6D is a gray.
In the RGB color model it is made of 37.3% red, 41.6% green and 42.7% blue (95, 106, 109).
Its hue angle is 193°, with 7% saturation and 40% lightness. For print, the CMYK equivalent is 13% cyan, 3% magenta, 0% yellow and 57% black.
The closest named color is Batman (#656E72), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.57:1).
#5F6A6D color codes
| HEX | #5F6A6D | |
|---|---|---|
| RGB | rgb(95, 106, 109) | |
| RGB percent | rgb(37.3%, 41.6%, 42.7%) | |
| HSL | hsl(193, 7%, 40%) | |
| HSV / HSB | hsv(193, 13%, 43%) | |
| CMYK | cmyk(13%, 3%, 0%, 57%) | |
| CIE LAB | lab(44.01, -3.49, -3.1) | |
| CIE LCH | lch(44.01, 4.67, 221.6) | |
| CIE XYZ | xyz(12.633, 13.845, 16.472) | |
| Decimal | 6253165 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6A6D, 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 #5F6A6D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.77:1 | Fail | Fail | Pass |
| Sample text | 5.57:1 | Pass | Fail | Pass |
| #5F6A6D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.57:1 | Pass | Fail | Pass |
| Sample text | 3.77:1 | Fail | Fail | Pass |
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 #5F6A6D looks to people with the most common types of color vision deficiency.
#68696dProtanopia
no red cones#65676dDeuteranopia
no green cones#5b6b6bTritanopia
no blue cones#686868Achromatopsia
no color vision
CSS examples
.background { background-color: #5f6a6d; }
.text { color: #5f6a6d; }
.border { border: 2px solid #5f6a6d; }
.transparent { background-color: rgb(95 106 109 / 50%); }
.gradient { background: linear-gradient(to right, #5f6a6d, #5f636d); }
Similar colors
#656e72Batman#5f6d6eWrapped in Twilight#616669Gray Web#59656dStreets of London#686d70Beautiful Darkness#566062Yacht Club#526771Silent Night#535e64Lava Rock
Closest common color name: Dim Gray.
Questions
- What color is #5F6A6D?
- #5F6A6D is a gray, closest to the named color Batman. It belongs to the gray family of colors.
- What is the RGB value of #5F6A6D?
- The RGB value is 95, 106, 109: 95 red, 106 green and 109 blue on a 0 to 255 scale.
- What is the complementary color of #5F6A6D?
- The complementary color is #6D625F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6A6D?
- White text. Black text has a contrast ratio of 3.77:1 and white text 5.57:1. WCAG asks for at least 4.5:1 for normal text.