HTML color codes for navy blue - hexadecimal + RGB

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

#252440

códigos del color navy blue

Complementary color of navy blue:

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

#3f4024

Monochromatic scheme of the color navy blue

#000000
#100e17
#191827
#212037
#32314e
#4e4b6b
#6b6789
#8985a8

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

HTML and CSS codes for the color navy blue

formatcode
hex#252440
rgbrgb(37,36,64)
hslhsl(243,29%,20%)
cmykcmyk(43, 44, 0, 75)
hsvhsv(243, 44%, 26%)

What is the navy blue color in RGB format?

The navy blue color in RGB format is composed of (37 in the red channel), (36 in the green channel), and (64 in the blue channel).

What is the navy blue color in CMYK format?

It is composed of (43%) cyan, (44%) magenta, (0%) yellow, and (75%) black / key.

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

It is composed of (243°) hue, (29%) saturation, and (20%) lightness.

What is the navy blue color in HSV format?

The navy blue color in HSV format is composed of (243°) hue, (44%) saturation, and (26%) value.

Analogous scheme of the color navy blue

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

#262442
#342442
#243242

Triadic scheme of the color navy blue

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

#252440
#402524
#244025

Tetradic scheme of the color navy blue

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

#252440
#402431
#3f4024
#244033

Split complementary scheme of the color navy blue

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

#252440
#402439
#2e4024

Tints of the color navy blue

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

#252440
#515066
#7c7c8c
#a8a7b3
#d3d3d9
#ffffff

Shades of the color navy blue

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

#252440
#1e1d33
#161626
#0f0e1a
#07070d
#000000

Check the contrast of the color navy blue.

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

Change the text color.
Contrast ratio: 14.95

Contrast ratio test of the color navy blue as a background

Change the background color
Contrast ratio: 1.04

Contrast ratio test of the color navy blue as text.

How to implement the color navy blue in HTML and CSS

Here are examples of code to use the navy 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 navy blue in HTML - CSS.

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

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

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

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

<p style="color:#252440;"> Color navy blue as the text color.</p>
p {
color:#252440 ;
}