Sapphire Color

#0F52BA · rgb(15, 82, 186)

Sapphire is a dark vivid azure color with the hex code #0F52BA. It is not a CSS keyword, so use the hex value in code; the closest CSS named color is Royal Blue (#4169E1). In RGB it is made of 6% red, 32% green and 73% blue.

HEX#0F52BA
RGBrgb(15, 82, 186)
HSLhsl(216, 85%, 39%)
HSV / HSBhsv(216, 92%, 73%)
CMYKcmyk(92%, 56%, 0%, 27%)
Decimal1004218
Closest CSS nameRoyal Blue
Luminance9.7%
Closest Tailwindblue-800 (#1E40AF)

Open in converter Make a gradient Check contrast Pick colors from an image

Contrast & text

White text · 7.15:1 · AAA
Black text · 2.94:1 · fails
#0F52BA on white · 7.15:1
#0F52BA on black · 2.94:1

CSS

.text   { color: #0F52BA; }
.bg     { background-color: #0F52BA; }
.border { border: 2px solid #0F52BA; }
.grad   { background: linear-gradient(135deg, #0F52BA, #B8740F); }

Other Sapphire values

Color names are not a standard, so sources give slightly different codes. This page uses the most widely used value.

Tints of Sapphire

#2763C1 · #3F75C8 · #5786CF · #6F97D6 · #87A9DD · #9FBAE3 · #B7CBEA · #CFDCF1 · #E7EEF8

Shades of Sapphire

#0E4AA7 · #0C4295 · #0B3982 · #093170 · #08295D · #06214A · #051938 · #031025 · #020813

Color combinations

Complementary

#0F52BA · #B8740F

Analogous

#0FA7B8 · #0F52BA · #200FB8

Triadic

#0F52BA · #B80F53 · #53B80F

Split complementary

#0F52BA · #B8200F · #A7B80F

Tetradic

#0F52BA · #B80FA7 · #B8740F · #0FB820

Colors similar to Sapphire

Sapphire: questions & answers

What color is #0F52BA?

#0F52BA is a dark vivid azure. In the RGB model it is made of 6% red, 32% green and 73% blue.

Is Sapphire a CSS color name?

No. Sapphire is a common color name, not a CSS keyword, so write it as #0F52BA (or rgb(15, 82, 186)) in CSS. The closest CSS keyword is royalblue (#4169E1).

Why do sites list different hex codes for Sapphire?

Color names are not standardized. #0F52BA is the most widely used value; in the XKCD color survey, where people named colors in a large online experiment, Sapphire came out as #2138ab.

What is Sapphire in RGB?

rgb(15, 82, 186). In HSL it is hsl(216, 85%, 39%), and in CMYK it is approximately cmyk(92%, 56%, 0%, 27%).

What colors go with Sapphire?

Its complementary color is #B8740F. For a calmer scheme, try the analogous colors #0FA7B8 and #200FB8.

Should I use white or black text on Sapphire?

White text reads better: contrast is 7.15:1 (WCAG AAA).