Cobalt blue to RGB

Color Code

#030aa7
Format Value
HEX #030aa7
RGB rgb(3, 10, 167)
HSL hsl(237.4, 96.5%, 33.3%)
CMYK cmyk(98.2%, 94%, 0%, 34.5%)
HSV hsv(237.4, 98.2%, 65.5%)

cobalt blue color harmonies

Tints & shades of cobalt blue

Tints (lighter)

#1a20af #3137b7 #484dbf #5f63c7 #7679cf #8c90d7 #a3a6df #babce7 #d1d2ef #e8e9f7

Shades (darker)

#030998 #020889 #020779 #02066a #02055b #01054c #01043d #01032e #01021e #00010f

Contrast & accessibility

The quick brown fox

On white · 13.08:1 · AAA

The quick brown fox

On black · 1.61:1 · Fail

Recommended text color: #ffffff

Use cobalt blue in code

CSS color: #030aa7;
SCSS $color: #030aa7;
Tailwind bg-[#030aa7]
Swift UIColor(red: 0.012, green: 0.039, blue: 0.655, alpha: 1)
Android Color.parseColor("#030aa7")
Flutter Color(0xFF030AA7)

Colors similar to cobalt blue

Browse all Blue colors →

What is the RGB code for cobalt blue?

The CSS color cobalt blue in RGB format is rgb(3, 10, 167). Use this value directly in CSS, SVG, and most design tools.

How do I use cobalt blue in CSS?

To apply cobalt blue in CSS:

  • Text color: color: rgb(3, 10, 167);
  • Background: background-color: rgb(3, 10, 167);
  • Border: border-color: rgb(3, 10, 167);

What are all the color format values for cobalt blue?

FormatValue
HEX#030aa7
RGBrgb(3, 10, 167)
HSLhsl(237.4, 96.5%, 33.3%)
CMYKcmyk(98.2%, 94%, 0%, 34.5%)

How do I convert cobalt blue to RGB?

Select cobalt blue from the color name list in our color converter. The RGB value — rgb(3, 10, 167) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does cobalt blue belong to?

cobalt blue belongs to the blue color family. It is a medium, vivid color with HSL values: hue 237.4°, saturation 96.5%, lightness 33.3%.

How do I create lighter and darker shades of cobalt blue?

Lighter variant (lightness 48.3%): #040ff2. Darker variant (lightness 18.299999999999997%): #02065c. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is RGB used for?

RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.