About Sapphire
Sapphire is the hex color #0F52BA, which translates to rgb(15, 82, 186) in RGB and hsl(216, 85%, 39%) in HSL. On the color wheel it sits at 216 degrees, with a saturation of 85 percent and a lightness of 39 percent. That combination gives Sapphire a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.
How Sapphire compares
The closest standard CSS keyword is royalblue (#4169E1), a CIE76 distance of 12.6 away in CIELAB. That is a visible difference, so the keyword is not a substitute here. In the Tailwind CSS 4.3.1 palette the nearest token is blue-900 (#1C398E), at a distance of 14.2. Inside this library the closest neighbour is Cerulean Blue at 3.8. Sorted by lightness, Sapphire is number 8 of the 30 blue colors here.
Text on Sapphire
2 of the five common text colors below clear WCAG AA for normal text on Sapphire, led by White at 7.15:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Sapphire already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 7.15:1 | Pass | Pass | Pass |
| Ink black #0F0F12 | 2.68:1 | Fail | Fail | Fail |
| Mid grey #6B7280 | 1.48:1 | Fail | Fail | Fail |
| Dark grey #374151 | 1.44:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 5.78:1 | Pass | Pass | Fail |
Building a palette around Sapphire
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Sapphire for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Sapphire locked and let it fill in the rest.
Full values for Sapphire
| Format | Value |
|---|---|
| HEX | #0F52BA |
| RGB | rgb(15, 82, 186) |
| HSL | hsl(216, 85%, 39%) |
| HSV | hsv(216, 92%, 73%) |
| CMYK | cmyk(92%, 56%, 0%, 27%) |
| OKLCH | oklch(46.65% 0.1763 260.01) |
| CIELAB | lab(37.26 21.77 -60.04) |
Frequently asked questions
What is the RGB value of Sapphire?
Sapphire (#0F52BA) is rgb(15, 82, 186): 15 red, 82 green and 186 blue on the 0 to 255 scale. Blue leads at 186, green follows at 82 and red trails at 15, which puts the hue at 216 degrees. In HSL the same color is hsl(216, 85%, 39%).
What colour is #0F52BA?
#0F52BA is Sapphire, a dark blue colour with a hue of 216 degrees, 85% saturation and 39% lightness. For print the CMYK breakdown is 92% cyan, 56% magenta, 0% yellow and 27% black. Its nearest neighbour in this library is Cerulean Blue, 3.8 away in CIELAB, a difference you can see.
Is Sapphire a CSS color name?
No. Sapphire is not one of the 148 CSS named colors, so write it as #0F52BA. The nearest keyword is royalblue (#4169E1), a CIE76 distance of 12.6: far enough that the keyword reads as a different color.
What colors go with Sapphire?
Opposite Sapphire on the color wheel sits the complementary #BA770F, the boldest accent by hue. For a calmer scheme use the analogous neighbours #0FA7BA and #210FBA; for a balanced three-color scheme use the triadic pair #BA0F52 and #52BA0F. Of these, #52BA0F has the most contrast against Sapphire, at 2.86:1, so pair it by hue, not for legibility.
What text color is readable on Sapphire?
White (#FFFFFF) is the most readable on Sapphire, at 7.15:1, which also clears WCAG AAA (7:1). 2 of the 5 common text colors tested pass AA for normal text.
Use Sapphire in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.