#0C38E5

Color Details

HEX
#0C38E5
RGB
rgb(12, 56, 229)
HSL
hsl(228, 90%, 47%)
CMYK
cmyk(95%, 76%, 0%, 10%)
Best text on this color #FFFFFF (CR 7.74:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #0C38E5 swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #0C38E5

#0C38E5 converts to RGB(12, 56, 229) and HSL(228, 90%, 47%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#0C38E5 FAQs

What is the RGB value of #0C38E5?
RGB: 12, 56, 229. Copy as CSS: rgb(12, 56, 229)
Is #0C38E5 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #0C38E5?
Complement: #e4b90c.
Does #0C38E5 have good contrast on white or black?
On white: 7.74:1 (AAA (normal text)). On black: 2.71:1 (Fails AA).