#283F6A color
The hex color #283F6A is a dark, desaturated azure.
In the RGB color model it is made of 15.7% red, 24.7% green and 41.6% blue (40, 63, 106).
Its hue angle is 219°, with 45% saturation and 29% lightness. For print, the CMYK equivalent is 62% cyan, 41% magenta, 0% yellow and 58% black.
The closest named color is Napoleonic Blue (#2C4170), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.45:1).
#283F6A color codes
| HEX | #283F6A | |
|---|---|---|
| RGB | rgb(40, 63, 106) | |
| RGB percent | rgb(15.7%, 24.7%, 41.6%) | |
| HSL | hsl(219, 45%, 29%) | |
| HSV / HSB | hsv(219, 62%, 42%) | |
| CMYK | cmyk(62%, 41%, 0%, 58%) | |
| CIE LAB | lab(26.87, 5.69, -27.83) | |
| CIE LCH | lch(26.87, 28.4, 281.56) | |
| CIE XYZ | xyz(5.253, 5.046, 14.33) | |
| Decimal | 2637674 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #283F6A, 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 #283F6A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.01:1 | Fail | Fail | Fail |
| Sample text | 10.45:1 | Pass | Pass | Pass |
| #283F6A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.45:1 | Pass | Pass | Pass |
| Sample text | 2.01: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 #283F6A looks to people with the most common types of color vision deficiency.
#2d436cProtanopia
no red cones#243d69Deuteranopia
no green cones#00494fTritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #283f6a; }
.text { color: #283f6a; }
.border { border: 2px solid #283f6a; }
.transparent { background-color: rgb(40 63 106 / 50%); }
.gradient { background: linear-gradient(to right, #283f6a, #32286a); }
Similar colors
#2c4170Napoleonic Blue#27426bNightlife#2d4470Blue Funk#324471Space Missions#2c4364Black Turmeric#34466cForlorn Cruise#1b416fAegean Blue#32496fMidnight Interlude
Closest common color name: Prussian Blue.
Questions
- What color is #283F6A?
- #283F6A is a dark, desaturated azure, closest to the named color Napoleonic Blue. It belongs to the blue family of colors.
- What is the RGB value of #283F6A?
- The RGB value is 40, 63, 106: 40 red, 63 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #283F6A?
- The complementary color is #6A5328, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #283F6A?
- White text. Black text has a contrast ratio of 2.01:1 and white text 10.45:1. WCAG asks for at least 4.5:1 for normal text.