#28284B color

#28284B rgb(40, 40, 75)
Shades of blue

The hex color #28284B is a dark, desaturated blue.

In the RGB color model it is made of 15.7% red, 15.7% green and 29.4% blue (40, 40, 75).

Its hue angle is 240°, with 30% saturation and 23% lightness. For print, the CMYK equivalent is 47% cyan, 47% magenta, 0% yellow and 71% black.

The closest named color is Black Market (#222244), a difference of 1.9 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 14.04:1).

#28284B color codes

HEX#28284B
RGBrgb(40, 40, 75)
RGB percentrgb(15.7%, 15.7%, 29.4%)
HSLhsl(240, 30%, 23%)
HSV / HSBhsv(240, 47%, 29%)
CMYKcmyk(47%, 47%, 0%, 71%)
CIE LABlab(17.81, 10.56, -21.75)
CIE LCHlch(17.81, 24.18, 295.9)
CIE XYZxyz(2.903, 2.477, 6.98)
Decimal2631755
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #28284B, 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 #28284BRatioAAAAAAA large
Sample text1.5:1FailFailFail
Sample text14.04:1PassPassPass
#28284B as text onRatioAAAAAAA large
Sample text14.04:1PassPassPass
Sample text1.5:1FailFailFail

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 #28284B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #28284b; }
.text { color: #28284b; }
.border { border: 2px solid #28284b; }
.transparent { background-color: rgb(40 40 75 / 50%); }
.gradient { background: linear-gradient(to right, #28284b, #3a284b); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #28284B?
#28284B is a dark, desaturated blue, closest to the named color Black Market. It belongs to the blue family of colors.
What is the RGB value of #28284B?
The RGB value is 40, 40, 75: 40 red, 40 green and 75 blue on a 0 to 255 scale.
What is the complementary color of #28284B?
The complementary color is #4B4B28, found by rotating the hue 180° on the color wheel.
Is black or white text better on #28284B?
White text. Black text has a contrast ratio of 1.5:1 and white text 14.04:1. WCAG asks for at least 4.5:1 for normal text.