HTML color codes for royal blue - hexadecimal + RGB

Discover all HTML codes for the color royal blue - hexadecimal, rgb, hsl, hsv, and cmyk, as well as different combinations, schemes, temperatures, hues, and types of royal blue color.

#0833a2

códigos del color royal blue

Complementary color of royal blue:

The complementary color of a color is the opposite of it on the color wheel (chromatic circle)

#a27708

Monochromatic scheme of the color royal blue

#00003e
#001259
#001f75
#042c93
#2d40af
#565cc9
#7979e4
#9b98ff

This scheme is based on the color royal blue and is composed of different hues, tones, and shades, both dark and light.

HTML and CSS codes for the color royal blue

formatcode
hex#0833a2
rgbrgb(8,51,162)
hslhsl(224,91%,34%)
cmykcmyk(96, 69, 0, 37)
hsvhsv(224, 96%, 64%)

What is the royal blue color in RGB format?

The royal blue color in RGB format is composed of (8 in the red channel), (51 in the green channel), and (162 in the blue channel).

What is the royal blue color in CMYK format?

It is composed of (96%) cyan, (69%) magenta, (0%) yellow, and (37%) black / key.

What is the composition of the royal blue color in HSL?

It is composed of (224°) hue, (91%) saturation, and (34%) lightness.

What is the royal blue color in HSV format?

The royal blue color in HSV format is composed of (224°) hue, (96%) saturation, and (64%) value.

Analogous scheme of the color royal blue

Analogous colors are obtained from the two closest colors within the color wheel.

#0832a6
#2d08a6
#0881a6

Triadic scheme of the color royal blue

The triadic scheme is obtained from 3 colors equally spaced from each other within the color wheel

#0833a2
#a20833
#33a208

Tetradic scheme of the color royal blue

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#0833a2
#a20880
#a27708
#08a22a

Split complementary scheme of the color royal blue

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#0833a2
#9608a2
#71a208

Tints of the color royal blue

Tints are obtained from the base color royal blue up to reaching white, finding in between shades of pastel colors.

#0833a2
#395cb5
#6b85c7
#9cadda
#ced6ec
#ffffff

Shades of the color royal blue

These shades are obtained from the base color royal blue up to reaching black.

#0833a2
#062982
#051f61
#031441
#020a20
#000000

Check the contrast of the color royal blue.

You can now validate the contrast relationship of the color royal blue, whether using it as a background color or as a text color.

Change the text color.
Contrast ratio: 10.47

Contrast ratio test of the color royal blue as a background

Change the background color
Contrast ratio: 1.49

Contrast ratio test of the color royal blue as text.

How to implement the color royal blue in HTML and CSS

Here are examples of code to use the royal blue on your web page. Remember that you can implement the color in HTML using color codes such as hexadecimal, RGB, or HSL, and also directly with the color name written in English (as long as it is natively supported by HTML).

Background color royal blue in HTML - CSS.

To set the background color, you can use inline styles or apply them in a CSS stylesheet

<div style="background:#0833a2;"> Color royal blue as the background of a div.</div>
/* Color royal blue as the background of the body tag with CSS. */
body {
background: #0833a2;
}

To set the text color royal blue in HTML - CSS.

To set the text color, you can use inline styles or apply them in a CSS stylesheet.

<p style="color:#0833a2;"> Color royal blue as the text color.</p>
p {
color:#0833a2 ;
}