Home /Colors /#0F42C2
#0F42C2#0F42C2

#0F42C2 color code is #0F42C2. Use this page to get all code formats, explore shades and tints, and find colors that work with #0f42c2.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #0F42C2

#0F42C2 Accessibility & WCAG Contrast

Relative luminance of #0F42C2 is 0.0789. Its WCAG contrast ratio is 8.14:1 against white and 2.58:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#0F42C2 on white8.14:1AAA
The quick brown fox
#0F42C2 on black2.58:1Fail
The quick brown fox
White on #0F42C28.14:1AAA
The quick brown fox
Black on #0F42C22.58:1Fail

#0F42C2 — Frequently Asked Questions

What is the hex code for #0F42C2?+
The hex code for #0F42C2 is #0F42C2. In RGB it's rgb(15, 66, 194), and in HSL it's hsl(223, 86%, 41%).
What is the RGB value of #0F42C2?+
#0F42C2 in RGB is (15, 66, 194). Written in CSS: rgb(15, 66, 194).
What is the CMYK value of #0F42C2?+
#0F42C2 converts to CMYK(92%, 66%, 0%, 24%) for print. Hex equivalent is #0F42C2.
Is #0f42c2 a warm or cool color?+
#0F42C2 (#0F42C2) is a cool blue — its hue sits at 223° on the color wheel, placing it in the cool part of the spectrum.
What color family does #0f42c2 belong to?+
#0F42C2 belongs to the blue family. Its HSL is 223°, 86%, 41% — a cool tone within the broader blue group.
Is #0f42c2 accessible for body text on a white background?+
#0F42C2 on white reaches a WCAG contrast ratio of 8.14:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for #0f42c2?+
The nearest Pantone match for #0F42C2 (#0F42C2) is 19-4150 Cobalt Blue, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #0F42C2 in design

Practical guidance for using #0f42c2 (#0F42C2) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use #0F42C2 (#0F42C2) as primary text or icon color on white backgrounds — at 8.1:1 contrast it passes WCAG AAA for body copy. Avoid placing #0f42c2 text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, #0F42C2 (#0F42C2) reads as high-energy and confident and versatile across product tiers. It fits naturally into tech, finance, healthcare, productivity tools (the safe brand-color default). Use it as the primary identity color and pair with one neutral (white, off-white, or near-black). Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

#0F42C2 flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Deep cool tones photograph richly under indoor light and read as quiet luxury — strong choice for eveningwear.

Interior design

#0F42C2 works as either a primary wall color or a strong accent — versatile across most rooms. As a wall color it pairs with white trim and warm wood; as an accent (sofa, chair, large art) it lifts a neutral room without overwhelming it. Test a large swatch against your room's natural light at three times of day before committing — mid-tone colors shift more than light or dark colors do.