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

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
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.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Sapphire
#0F52BA Base
#BA770F
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Sapphire
#0F52BA Base
#0FA8BA
#210FBA
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Sapphire
#0F52BA Base
#BA0F52
#52BA0F
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Sapphire
#0F52BA Base
#BA210F
#A8BA0F
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Sapphire
#0F52BA Base
#BA0FA8
#BA770F
#0FBA21
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Sapphire
#0F52BA Base
#04142C
#093373
#0C4194
#1263E0
#2875EE
#6FA3F3
Shades & Tints

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
Sapphire #0F52BA Base
#166AEC
#4A8BF0
#7EADF5
#B3CEF9
#E7F0FD
CSS & SCSS Snippets

Ready-to-use code snippets for #0F52BA. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #0F52BA;
}

/* Text */
.element {
    color: #0F52BA;
}

/* Border */
.element {
    border: 1px solid #0F52BA;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #0F52BA,
        #BA770F
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #0F52BA,
        #BA770F
    );
}
SCSS Variable
// 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);
}
Color Blindness Simulation

How Sapphire appears to people with different types of color vision deficiency.

Normal Vision #0F52BA How the color appears with full color vision.
Deuteranopia #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.
Protanopia #4E4EBA Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #006767 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #585858 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Sapphire ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Sapphire #0F52BA Base
Medium Teal Blue #0054B4 ΔE 1.68
Cerulean Blue #2A52BE ΔE 2.22
New Car #214FC6 ΔE 2.90
Cobalt #0047AB ΔE 3.85

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.