Ultramarine Color — HEX, RGB, HSL & CMYK Codes

#2000b1
Format Value
HEX #2000b1
RGB rgb(32, 0, 177)
HSL hsl(250.8, 100%, 34.7%)
CMYK cmyk(81.9%, 100%, 0%, 30.6%)
HSV hsv(250.8, 100%, 69.4%)

ultramarine color harmonies

Tints & shades of ultramarine

Tints (lighter)

#3417b8 #492ebf #5d46c6 #715dcd #8574d4 #9a8bdc #aea2e3 #c2b9ea #d6d1f1 #ebe8f8

Shades (darker)

#1d00a1 #1a0091 #170081 #140071 #110061 #0f0050 #0c0040 #090030 #060020 #030010

Contrast & accessibility

The quick brown fox

On white · 12.38:1 · AAA

The quick brown fox

On black · 1.7:1 · Fail

Recommended text color: #ffffff

Use ultramarine in code

CSS color: #2000b1;
SCSS $color: #2000b1;
Tailwind bg-[#2000b1]
Swift UIColor(red: 0.125, green: 0.000, blue: 0.694, alpha: 1)
Android Color.parseColor("#2000b1")
Flutter Color(0xFF2000B1)

Colors similar to ultramarine

Browse all Blue colors →

What is the HEX code for ultramarine?

The CSS color ultramarine in HEX format is #2000b1. Use this value directly in CSS, SVG, and most design tools.

How do I use ultramarine in CSS?

To apply ultramarine in CSS:

  • Text color: color: #2000b1;
  • Background: background-color: #2000b1;
  • Border: border-color: #2000b1;

What are all the color format values for ultramarine?

FormatValue
HEX#2000b1
RGBrgb(32, 0, 177)
HSLhsl(250.8, 100%, 34.7%)
CMYKcmyk(81.9%, 100%, 0%, 30.6%)

How do I convert ultramarine to HEX?

Select ultramarine from the color name list in our color converter. The HEX value — #2000b1 — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does ultramarine belong to?

ultramarine belongs to the blue color family. It is a medium, vivid color with HSL values: hue 250.8°, saturation 100%, lightness 34.7%.

How do I create lighter and darker shades of ultramarine?

Lighter variant (lightness 49.7%): #2e00fd. Darker variant (lightness 19.700000000000003%): #120064. 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.