#0500CC color
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 | |
|---|---|---|
| RGB | rgb(5, 0, 204) | |
| RGB percent | rgb(2%, 0%, 80%) | |
| HSL | hsl(241, 100%, 40%) | |
| HSV / HSB | hsv(241, 100%, 80%) | |
| CMYK | cmyk(98%, 100%, 0%, 20%) | |
| CIE LAB | lab(24.92, 66.96, -91) | |
| CIE LCH | lch(24.92, 112.98, 306.35) | |
| CIE XYZ | xyz(10.958, 4.39, 57.385) | |
| Decimal | 327884 | |
| Short hex | None (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 #0500CC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.88:1 | Fail | Fail | Fail |
| Sample text | 11.18:1 | Pass | Pass | Pass |
| #0500CC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.18:1 | Pass | Pass | Pass |
| Sample text | 1.88: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 #0500CC looks to people with the most common types of color vision deficiency.
#0045d1Protanopia
no red cones#0030c9Deuteranopia
no green cones#005477Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
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); }
Similar colors
#0000cdMedium Blue#010fccTrue Blue#3300ccBusty Blue#0011bbToo Dark Tonight#3311bbGalactic Highway#0203e2Pure Blue#1f22d2Lapis on Neptune#0000eeHyperlink Blue
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.