#283D42 color
The hex color #283D42 is a dark, grayish cyan.
In the RGB color model it is made of 15.7% red, 23.9% green and 25.9% blue (40, 61, 66).
Its hue angle is 192°, with 25% saturation and 21% lightness. For print, the CMYK equivalent is 39% cyan, 8% magenta, 0% yellow and 74% black.
The closest named color is Little Mermaid (#2D454A), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.44:1).
#283D42 color codes
| HEX | #283D42 | |
|---|---|---|
| RGB | rgb(40, 61, 66) | |
| RGB percent | rgb(15.7%, 23.9%, 25.9%) | |
| HSL | hsl(192, 25%, 21%) | |
| HSV / HSB | hsv(192, 39%, 26%) | |
| CMYK | cmyk(39%, 8%, 0%, 74%) | |
| CIE LAB | lab(24.26, -6.78, -5.72) | |
| CIE LCH | lch(24.26, 8.87, 220.17) | |
| CIE XYZ | xyz(3.527, 4.182, 5.775) | |
| Decimal | 2637122 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #283D42, 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 #283D42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.84:1 | Fail | Fail | Fail |
| Sample text | 11.44:1 | Pass | Pass | Pass |
| #283D42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.44:1 | Pass | Pass | Pass |
| Sample text | 1.84: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 #283D42 looks to people with the most common types of color vision deficiency.
#393c42Protanopia
no red cones#353842Deuteranopia
no green cones#1e3f3eTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #283d42; }
.text { color: #283d42; }
.border { border: 2px solid #283d42; }
.transparent { background-color: rgb(40 61 66 / 50%); }
.gradient { background: linear-gradient(to right, #283d42, #283042); }
Similar colors
#2d454aLittle Mermaid#1c3b42Royal Neptune#203943Astral Nomad#1c3d44Sunken Harbour#27454aMysterious Waters#224347Emerald Forest#243640Petrol Slumber#1e3642Into the Night
Closest common color name: Gunmetal.
Questions
- What color is #283D42?
- #283D42 is a dark, grayish cyan, closest to the named color Little Mermaid. It belongs to the gray family of colors.
- What is the RGB value of #283D42?
- The RGB value is 40, 61, 66: 40 red, 61 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #283D42?
- The complementary color is #422D28, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #283D42?
- White text. Black text has a contrast ratio of 1.84:1 and white text 11.44:1. WCAG asks for at least 4.5:1 for normal text.