#1f266c Hex Color

rgb(31, 38, 108)

Color Information

Name First value Second Value Third Value Fourth Value Written As
HEX 1f 26 6c - #1f266c
RGB 31 38 108 - rgb(31,38,108)
HSL 235 55% 27% - hsl(235,55%,27%)
HSV 235 71% 42% - hsv(235,71%,42%)
XYZ 3.965 2.7602 14.5112 - xyz(3.965,2.7602,14.5112)
CIE-LAB 19.06 22.3 -41.72 - lab(19.06,22.3,-41.72)
CMYK 0.71296296296296 0.64814814814815 0 0.57647058823529 cmyk(0.71296296296296,0.64814814814815,0,0.57647058823529)

Description

The RGB value of color #1f266c is rgb(31, 38, 108).

In the hex color #1f266c, The value of Red is 31, value of Green is 38, and value of Blue is 108. The primary color is Blue. Similarly, The HSL values for #1f266c consists of 235° Hue, 55% Saturation, and 27% Lightness.

In the CMYK color model, the color #1f266c can be represented as Cyan=0.71296296296296%, Magenta=0.64814814814815%, Yellow=0%, and Black=0.57647058823529%.

Shades of #1f266c

Shades in a color are variations of the color that are created by adding black to it which results in a darker tone.

Tints of #1f266c

Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.

Color Previews of #1f266c

Preview of #1f266c on White Background

This is a sample text.

The contrast ratio of #1f266c with white color is 13.53

#1f266c color will look good on a white background.

Preview of #1f266c on black background

This is a sample text.

The contrast ratio of #1f266c with black color is 1.55

Color Schemes of #1f266c

Triadic Colors of #1f266c

Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.

Analogous Colors of #1f266c

Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.

Complementary Color of #1f266c

Complementary colors are pairs of colors that are directly opposite each other on the color wheel, creating a high contrast and vibrant color scheme when used together.

Monochromatic Colors of #1f266c

Monochromatic colors are variations of a single color that are created by using different shades, tints, and tones of that color which results in a harmonious and cohesive color scheme.

Color Usage

You can set the css color of a text using:

.class{ color: #1f266c; }

This is a sample text used for the color #1f266c. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.

You can set the css background color of a box using:

.box{ background-color: #1f266c; }

This is a sample text used for the color #1f266c. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.

You can set the css border of a box using:

.box{ border:4px solid #1f266c; }

This is a sample text used for the color #1f266c. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.

RGB Percentage

Red 17.51%

Green 21.47%

Blue 61.02%

CMYK Percentage

Cyan 36.8

Magenta 33.45%

Yellow 0%

Black 29.75%

Comments on this color

Please login or signup to post a comment.

No comments yet.