#0500CC color

#0500CC rgb(5, 0, 204)
Shades of blue

The hex color #0500CC is a vivid blue.

In the RGB color model it is made of 2% red, 0% green and 80% blue (5, 0, 204).

Its hue angle is 241°, with 100% saturation and 40% lightness. For print, the CMYK equivalent is 98% cyan, 100% magenta, 0% yellow and 20% black.

The closest named color is Medium Blue (#0000CD), a difference of 0.1 ΔE, which is barely visible.

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

#0500CC color codes

HEX#0500CC
RGBrgb(5, 0, 204)
RGB percentrgb(2%, 0%, 80%)
HSLhsl(241, 100%, 40%)
HSV / HSBhsv(241, 100%, 80%)
CMYKcmyk(98%, 100%, 0%, 20%)
CIE LABlab(24.92, 66.96, -91)
CIE LCHlch(24.92, 112.98, 306.35)
CIE XYZxyz(10.958, 4.39, 57.385)
Decimal327884
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0500CC, 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 #0500CCRatioAAAAAAA large
Sample text1.88:1FailFailFail
Sample text11.18:1PassPassPass
#0500CC as text onRatioAAAAAAA large
Sample text11.18:1PassPassPass
Sample text1.88: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 #0500CC looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0500cc; }
.text { color: #0500cc; }
.border { border: 2px solid #0500cc; }
.transparent { background-color: rgb(5 0 204 / 50%); }
.gradient { background: linear-gradient(to right, #0500cc, #6b00cc); }
Background
Text color
Border

Similar colors

Questions

What color is #0500CC?
#0500CC is a vivid blue, closest to the named color Medium Blue. It belongs to the blue family of colors.
What is the RGB value of #0500CC?
The RGB value is 5, 0, 204: 5 red, 0 green and 204 blue on a 0 to 255 scale.
What is the complementary color of #0500CC?
The complementary color is #C7CC00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0500CC?
White text. Black text has a contrast ratio of 1.88:1 and white text 11.18:1. WCAG asks for at least 4.5:1 for normal text.