Sapphire Color — HEX, RGB, HSL & CMYK Codes

#2138ab
Format Value
HEX #2138ab
RGB rgb(33, 56, 171)
HSL hsl(230, 67.6%, 40%)
CMYK cmyk(80.7%, 67.3%, 0%, 32.9%)
HSV hsv(230, 80.7%, 67.1%)

sapphire color harmonies

Tints & shades of sapphire

Tints (lighter)

#354ab3 #495cba #5e6ec2 #7280ca #8692d1 #9aa5d9 #aeb7e0 #c2c9e8 #d7dbf0 #ebedf7

Shades (darker)

#1e339b #1b2e8c #18297c #15246d #121f5d #0f194e #0c143e #090f2f #060a1f #030510

Contrast & accessibility

The quick brown fox

On white · 9.47:1 · AAA

The quick brown fox

On black · 2.22:1 · Fail

Recommended text color: #ffffff

Use sapphire in code

CSS color: #2138ab;
SCSS $color: #2138ab;
Tailwind bg-[#2138ab]
Swift UIColor(red: 0.129, green: 0.220, blue: 0.671, alpha: 1)
Android Color.parseColor("#2138ab")
Flutter Color(0xFF2138AB)

Colors similar to sapphire

Browse all Blue colors →

What is the HEX code for sapphire?

The CSS color sapphire in HEX format is #2138ab. Use this value directly in CSS, SVG, and most design tools.

How do I use sapphire in CSS?

To apply sapphire in CSS:

  • Text color: color: #2138ab;
  • Background: background-color: #2138ab;
  • Border: border-color: #2138ab;

What are all the color format values for sapphire?

FormatValue
HEX#2138ab
RGBrgb(33, 56, 171)
HSLhsl(230, 67.6%, 40%)
CMYKcmyk(80.7%, 67.3%, 0%, 32.9%)

How do I convert sapphire to HEX?

Select sapphire from the color name list in our color converter. The HEX value — #2138ab — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does sapphire belong to?

sapphire belongs to the blue color family. It is a medium, moderately saturated color with HSL values: hue 230°, saturation 67.6%, lightness 40%.

How do I create lighter and darker shades of sapphire?

Lighter variant (lightness 55%): #3f59da. Darker variant (lightness 25%): #15236b. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.