Sapphire (#0F52BA)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 7.15:1 — vs black: 2.94:1
Color values
-
HEX
#0F52BA -
RGB
rgb(15, 82, 186) -
HSL
hsl(216, 85%, 39%) -
CMYK
cmyk( 92, 56, 0, 27 ) -
Websafe
#0066CC
Tags
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #0F52BA based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#0F52BA
Base
#BA770F
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#0F52BA
Base
#0FA8BA
#210FBA
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#0F52BA
Base
#BA0F52
#52BA0F
Two colors flanking the complement — high contrast with less tension than full complementary.
#0F52BA
Base
#BA210F
#A8BA0F
Four colors at 90° intervals — rich variety, best when one color dominates.
#0F52BA
Base
#BA0FA8
#BA770F
#0FBA21
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#0F52BA
Base
#04142C
#093373
#0C4194
#1263E0
#2875EE
#6FA3F3
Darker shades and lighter tints of Sapphire, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#020A18
#051938
#072759
#0A3579
#0C449A
#0F52BA
Base
#166AEC
#4A8BF0
#7EADF5
#B3CEF9
#E7F0FD
Ready-to-use code snippets for #0F52BA. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #0F52BA;
}
/* Text */
.element {
color: #0F52BA;
}
/* Border */
.element {
border: 1px solid #0F52BA;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#0F52BA,
#BA770F
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#0F52BA,
#BA770F
);
}
// SCSS variable
$sapphire: #0F52BA;
// With RGB channels (useful for rgba() usage)
$sapphire-r: 15;
$sapphire-g: 82;
$sapphire-b: 186;
// Usage
.element {
background-color: $sapphire;
color: rgba($sapphire-r, $sapphire-g, $sapphire-b, 0.8);
}
How Sapphire appears to people with different types of color vision deficiency.
#0F52BA
How the color appears with full color vision.
#4646BA
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#4E4EBA
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#006767
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#585858
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.