#281E5F color

#281E5F rgb(40, 30, 95)
Shades of blue

The hex color #281E5F is a dark, moderate blue.

In the RGB color model it is made of 15.7% red, 11.8% green and 37.3% blue (40, 30, 95).

Its hue angle is 249°, with 52% saturation and 25% lightness. For print, the CMYK equivalent is 58% cyan, 68% magenta, 0% yellow and 63% black.

The closest named color is Indie Go (#2E2364), a difference of 1.6 ΔE, which is barely visible.

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

#281E5F color codes

HEX#281E5F
RGBrgb(40, 30, 95)
RGB percentrgb(15.7%, 11.8%, 37.3%)
HSLhsl(249, 52%, 25%)
HSV / HSBhsv(249, 68%, 37%)
CMYKcmyk(58%, 68%, 0%, 63%)
CIE LABlab(16.53, 24.59, -37.26)
CIE LCHlch(16.53, 44.64, 303.43)
CIE XYZxyz(3.404, 2.206, 11.071)
Decimal2629215
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #281E5F, 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 #281E5FRatioAAAAAAA large
Sample text1.44:1FailFailFail
Sample text14.57:1PassPassPass
#281E5F as text onRatioAAAAAAA large
Sample text14.57:1PassPassPass
Sample text1.44: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 #281E5F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #281e5f; }
.text { color: #281e5f; }
.border { border: 2px solid #281e5f; }
.transparent { background-color: rgb(40 30 95 / 50%); }
.gradient { background: linear-gradient(to right, #281e5f, #491e5f); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #281E5F?
#281E5F is a dark, moderate blue, closest to the named color Indie Go. It belongs to the blue family of colors.
What is the RGB value of #281E5F?
The RGB value is 40, 30, 95: 40 red, 30 green and 95 blue on a 0 to 255 scale.
What is the complementary color of #281E5F?
The complementary color is #555F1E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #281E5F?
White text. Black text has a contrast ratio of 1.44:1 and white text 14.57:1. WCAG asks for at least 4.5:1 for normal text.