#0C0CE4 color

#0C0CE4 rgb(12, 12, 228)
Shades of blue

The hex color #0C0CE4 is a vivid blue.

In the RGB color model it is made of 4.7% red, 4.7% green and 89.4% blue (12, 12, 228).

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

The closest named color is Pure Blue (#0203E2), a difference of 0.8 ΔE, which is barely visible.

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

#0C0CE4 color codes

HEX#0C0CE4
RGBrgb(12, 12, 228)
RGB percentrgb(4.7%, 4.7%, 89.4%)
HSLhsl(240, 90%, 47%)
HSV / HSBhsv(240, 95%, 89%)
CMYKcmyk(95%, 95%, 0%, 11%)
CIE LABlab(29.26, 70.72, -97.63)
CIE LCHlch(29.26, 120.55, 305.92)
CIE XYZxyz(14.282, 5.941, 73.778)
Decimal789732
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0C0CE4, 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 #0C0CE4RatioAAAAAAA large
Sample text2.19:1FailFailFail
Sample text9.6:1PassPassPass
#0C0CE4 as text onRatioAAAAAAA large
Sample text9.6:1PassPassPass
Sample text2.19: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 #0C0CE4 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0c0ce4; }
.text { color: #0c0ce4; }
.border { border: 2px solid #0c0ce4; }
.transparent { background-color: rgb(12 12 228 / 50%); }
.gradient { background: linear-gradient(to right, #0c0ce4, #780ce4); }
Background
Text color
Border

Similar colors

Closest common color name: Blue.

Questions

What color is #0C0CE4?
#0C0CE4 is a vivid blue, closest to the named color Pure Blue. It belongs to the blue family of colors.
What is the RGB value of #0C0CE4?
The RGB value is 12, 12, 228: 12 red, 12 green and 228 blue on a 0 to 255 scale.
What is the complementary color of #0C0CE4?
The complementary color is #E4E40C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C0CE4?
White text. Black text has a contrast ratio of 2.19:1 and white text 9.6:1. WCAG asks for at least 4.5:1 for normal text.