sapphire blue color code
The hex code for sapphire blue is #0F52BA, which is rgb(15, 82, 186) in RGB and cmyk(92%, 56%, 0%, 27%) in CMYK. It's a dark, vivid blue. There is no official standard for sapphire blue; #0F52BA is the value most colour references use.
Build a full palette from it: open in the palette generator.
Move the sliders to find a lighter, darker or softer sapphire blue; the codes update as you go.
Sapphire Blue colour codes
| HEX | #0F52BA |
|---|---|
| RGB | rgb(15, 82, 186) |
| HSL | hsl(216, 85%, 39%) |
| HSV / HSB | hsv(216, 92%, 73%) |
| CMYK | cmyk(92%, 56%, 0%, 27%) |
| Decimal | 1004218 |
About sapphire blue
Sapphire Blue sits at a hue of 216° on the colour wheel, with 85% saturation and 39% lightness. That makes it a cool colour: cool colours feel calm and steady and appear to recede, so they work well for large areas.
Named after the blue gemstone sapphire.
For text, white reads better on sapphire blue. Sapphire Blue as text on a white background has a contrast ratio of 7.15:1, which passes the WCAG AA rule for body text (4.5:1). On black it is 2.93:1, which fails AA for body text.
Tints and shades of sapphire blue
Tints mix sapphire blue with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.
Colours that go with sapphire blue
Complementary — opposite on the colour wheel: maximum contrast
Analogous — neighbours 30° either side: calm and natural
Triadic — three hues 120° apart: lively but balanced
Split complementary — the two neighbours of the complement: contrast with less tension
Tetradic — four hues 90° apart: rich, use one as the main colour
Sapphire Blue text contrast
| Combination | Ratio | AA normal (4.5:1) | AA large (3:1) | AAA (7:1) |
|---|---|---|---|---|
| sapphire blue on white | 7.15:1 | pass | pass | pass |
| sapphire blue on black | 2.93:1 | fail | fail | fail |
Check sapphire blue against any other colour in the contrast checker.
How sapphire blue looks with colour blindness
Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.
Use sapphire blue in code
.sapphire-blue {
color: #0f52ba;
background-color: #0f52ba;
border-color: rgb(15, 82, 186);
}Frequently asked questions
What is the hex code for sapphire blue?
#0F52BA is the most widely used value for sapphire blue. There's no official standard, so paint, fabric and brand swatches called sapphire blue can differ slightly; use the hex code to match it exactly on screen.
What is sapphire blue in RGB, HSL and CMYK?
RGB: rgb(15, 82, 186). HSL: hsl(216, 85%, 39%). CMYK: cmyk(92%, 56%, 0%, 27%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.
What colours go with sapphire blue?
Its complementary colour is #BA770F (close to ochre), which gives the strongest contrast. For a calmer look, use the analogous colours #0FA7BA and #220FBA, or the triadic pair #BA0F52 and #52BA0F. Tints and shades of sapphire blue itself always work together.
Is sapphire blue a warm or cool colour?
Sapphire Blue has a hue of 216°, which makes it cool.
Should I use black or white text on sapphire blue?
White. Black text on sapphire blue has a contrast ratio of 2.93:1 and white text has 7.15:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
Is sapphire blue a CSS colour name?
No. Sapphire Blue isn't one of the named colours built into CSS, so write it as a hex code: color: #0f52ba;