#283858 color
The hex color #283858 is a dark, desaturated blue.
In the RGB color model it is made of 15.7% red, 22% green and 34.5% blue (40, 56, 88).
Its hue angle is 220°, with 38% saturation and 25% lightness. For print, the CMYK equivalent is 55% cyan, 36% magenta, 0% yellow and 65% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.69:1).
#283858 color codes
| HEX | #283858 | |
|---|---|---|
| RGB | rgb(40, 56, 88) | |
| RGB percent | rgb(15.7%, 22%, 34.5%) | |
| HSL | hsl(220, 38%, 25%) | |
| HSV / HSB | hsv(220, 55%, 35%) | |
| CMYK | cmyk(55%, 36%, 0%, 65%) | |
| CIE LAB | lab(23.62, 3.88, -21.28) | |
| CIE LCH | lch(23.62, 21.63, 280.32) | |
| CIE XYZ | xyz(4.05, 3.984, 9.786) | |
| Decimal | 2635864 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #283858, 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 #283858 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.69:1 | Pass | Pass | Pass |
| #283858 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.69:1 | Pass | Pass | Pass |
| Sample text | 1.8: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 #283858 looks to people with the most common types of color vision deficiency.
#2c3b59Protanopia
no red cones#263657Deuteranopia
no green cones#123f44Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #283858; }
.text { color: #283858; }
.border { border: 2px solid #283858; }
.transparent { background-color: rgb(40 56 88 / 50%); }
.gradient { background: linear-gradient(to right, #283858, #302858); }
Similar colors
#2e3858Mediaeval Blue#273c5aNautilus#2b3458Midnight Escapade#2c4364Black Turmeric#314159Pi#27426bNightlife#2c4170Napoleonic Blue#0f2d4dMidnight Ocean
Closest common color name: Prussian Blue.
Questions
- What color is #283858?
- #283858 is a dark, desaturated blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of #283858?
- The RGB value is 40, 56, 88: 40 red, 56 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #283858?
- The complementary color is #584828, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #283858?
- White text. Black text has a contrast ratio of 1.8:1 and white text 11.69:1. WCAG asks for at least 4.5:1 for normal text.