#0F21C7 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #0f21c7 graphic
#0f21c7 is a dark, highly saturated blue with a cool, slightly violet undertone. Its strong chroma gives interfaces a controlled, serious feel, while the low lightness adds depth and authority. Use this hex code as a dominant UI background or bold accent; white text reaches about 10.2:1 contrast for readable body copy.

Questions about #0f21c7

What is #0f21c7 in RGB, HSL and CMYK?
In RGB, #0f21c7 is rgb(15, 33, 199), in HSL hsl(234, 86%, 42%) and in CMYK 92%, 83%, 0%, 22%.
How should designers use #0f21c7 in interface layouts?
Use #0f21c7 as a dominant background or focused accent, then soften it with white, pale gray, or restrained warm neutrals so its strong saturation stays legible and intentional across dashboards, security products, finance tools, and formal brand systems.
Is #0f21c7 readable on white or black?
#0f21c7 has a 10.18:1 contrast ratio on white and 2.06:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.