Royalblue to RGB — Color Code

#4169e1
Format Value
HEX #4169e1
RGB rgb(65, 105, 225)
HSL hsl(225, 72.7%, 56.9%)
CMYK cmyk(71.1%, 53.3%, 0%, 11.8%)
HSV hsv(225, 71.1%, 88.2%)

royalblue color harmonies

Tints & shades of royalblue

Tints (lighter)

#5277e4 #6484e6 #7592e9 #86a0ec #97adef #a9bbf1 #bac8f4 #cbd6f7 #dce4fa #eef1fc

Shades (darker)

#3b5fcd #3556b8 #2f4ca4 #29438f #23397b #1e3066 #182652 #121d3d #0c1329 #060a14

Contrast & accessibility

The quick brown fox

On white · 4.85:1 · AA

The quick brown fox

On black · 4.33:1 · AA Large

Recommended text color: #ffffff

Use royalblue in code

CSS color: #4169e1;
SCSS $color: #4169e1;
Tailwind bg-[#4169e1]
Swift UIColor(red: 0.255, green: 0.412, blue: 0.882, alpha: 1)
Android Color.parseColor("#4169e1")
Flutter Color(0xFF4169E1)

Colors similar to royalblue

Browse all Blue colors →

What is the RGB code for royalblue?

The CSS color royalblue in RGB format is rgb(65, 105, 225). Use this value directly in CSS, SVG, and most design tools.

How do I use royalblue in CSS?

To apply royalblue in CSS:

  • Text color: color: rgb(65, 105, 225);
  • Background: background-color: rgb(65, 105, 225);
  • Border: border-color: rgb(65, 105, 225);

What are all the color format values for royalblue?

FormatValue
HEX#4169e1
RGBrgb(65, 105, 225)
HSLhsl(225, 72.7%, 56.9%)
CMYKcmyk(71.1%, 53.3%, 0%, 11.8%)

How do I convert royalblue to RGB?

Select royalblue from the color name list in our color converter. The RGB value — rgb(65, 105, 225) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does royalblue belong to?

royalblue belongs to the blue color family. It is a medium, vivid color with HSL values: hue 225°, saturation 72.7%, lightness 56.9%.

How do I create lighter and darker shades of royalblue?

Lighter variant (lightness 71.9%): #839deb. Darker variant (lightness 41.9%): #1d44b9. 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.