#282F5B color
The hex color #282F5B is a dark, desaturated blue.
In the RGB color model it is made of 15.7% red, 18.4% green and 35.7% blue (40, 47, 91).
Its hue angle is 232°, with 39% saturation and 26% lightness. For print, the CMYK equivalent is 56% cyan, 48% magenta, 0% yellow and 64% black.
The closest named color is Galaxea (#2E305E), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.74:1).
#282F5B color codes
| HEX | #282F5B | |
|---|---|---|
| RGB | rgb(40, 47, 91) | |
| RGB percent | rgb(15.7%, 18.4%, 35.7%) | |
| HSL | hsl(232, 39%, 26%) | |
| HSV / HSB | hsv(232, 56%, 36%) | |
| CMYK | cmyk(56%, 48%, 0%, 64%) | |
| CIE LAB | lab(20.98, 11.27, -27.44) | |
| CIE LCH | lch(20.98, 29.66, 292.33) | |
| CIE XYZ | xyz(3.779, 3.239, 10.322) | |
| Decimal | 2633563 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282F5B, 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 #282F5B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.74:1 | Pass | Pass | Pass |
| #282F5B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.74:1 | Pass | Pass | Pass |
| Sample text | 1.65: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 #282F5B looks to people with the most common types of color vision deficiency.
#1c355dProtanopia
no red cones#17305aDeuteranopia
no green cones#113940Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #282f5b; }
.text { color: #282f5b; }
.border { border: 2px solid #282f5b; }
.transparent { background-color: rgb(40 47 91 / 50%); }
.gradient { background: linear-gradient(to right, #282f5b, #3a285b); }
Similar colors
#2e305eGalaxea#2c2c57Deep Sea Base#2b3458Midnight Escapade#1d2951Space Cadet#1c2e63Mythical Night#322c56Purple Noir#2a2551Pāua#2e3858Mediaeval Blue
Closest common color name: Oxford Blue.
Questions
- What color is #282F5B?
- #282F5B is a dark, desaturated blue, closest to the named color Galaxea. It belongs to the blue family of colors.
- What is the RGB value of #282F5B?
- The RGB value is 40, 47, 91: 40 red, 47 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #282F5B?
- The complementary color is #5B5428, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282F5B?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.74:1. WCAG asks for at least 4.5:1 for normal text.