#284F8F color

#284F8F rgb(40, 79, 143)
Shades of blue

The hex color #284F8F is a dark, moderate azure.

In the RGB color model it is made of 15.7% red, 31% green and 56.1% blue (40, 79, 143).

Its hue angle is 217°, with 56% saturation and 36% lightness. For print, the CMYK equivalent is 72% cyan, 45% magenta, 0% yellow and 44% black.

The closest named color is Le Grand Bleu (#244E94), a difference of 0.8 ΔE, which is barely visible.

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

#284F8F color codes

HEX#284F8F
RGBrgb(40, 79, 143)
RGB percentrgb(15.7%, 31%, 56.1%)
HSLhsl(217, 56%, 36%)
HSV / HSBhsv(217, 72%, 56%)
CMYKcmyk(72%, 45%, 0%, 44%)
CIE LABlab(34.04, 9.03, -39.5)
CIE LCHlch(34.04, 40.52, 282.88)
CIE XYZxyz(8.627, 8.025, 27.076)
Decimal2641807
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #284F8F, 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 #284F8FRatioAAAAAAA large
Sample text2.61:1FailFailFail
Sample text8.06:1PassPassPass
#284F8F as text onRatioAAAAAAA large
Sample text8.06:1PassPassPass
Sample text2.61: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 #284F8F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #284f8f; }
.text { color: #284f8f; }
.border { border: 2px solid #284f8f; }
.transparent { background-color: rgb(40 79 143 / 50%); }
.gradient { background: linear-gradient(to right, #284f8f, #34288f); }
Background
Text color
Border

Similar colors

Closest common color name: Cobalt Blue.

Questions

What color is #284F8F?
#284F8F is a dark, moderate azure, closest to the named color Le Grand Bleu. It belongs to the blue family of colors.
What is the RGB value of #284F8F?
The RGB value is 40, 79, 143: 40 red, 79 green and 143 blue on a 0 to 255 scale.
What is the complementary color of #284F8F?
The complementary color is #8F6828, found by rotating the hue 180° on the color wheel.
Is black or white text better on #284F8F?
White text. Black text has a contrast ratio of 2.61:1 and white text 8.06:1. WCAG asks for at least 4.5:1 for normal text.