Converting Colors


Conversions · Details · Harmonies · Images · Preview · Color Blindness Simulation · CSS · Help

Conversions

Here you see your color converted to 15 different color formats like RGB, CMYK, HSV, HSL, CIELab, Android, Decimal, and YUV. 🎁 Convert multiple colors at once or get Conversions and Harmonies via the REST API.

Conversions Part 1
FormatColor
Hex0351BE
RGB3, 81, 190
RGB Percent1%, 32%, 75%
CMY0.9886, 0.6842, 0.2562
CMYK0.98, 0.58, 0.00, 0.26
HSL215°, 97%, 38%
HSV215°, 98%, 74%
XYZ12.2009, 9.5379, 49.7163
Conversions Part 2
FormatColor
RYB3, 58, 190
Decimal217534
CIELab37.00, 23.78, -62.63
CIELCh37, 66.990, 290.789
Yxy9.5379, 0.1707, 0.1335
Android (android.graphics.Color)4278407614 (0xFF0351BE)
YUV70.1040, 59.1087, -58.8502

Details

The CIELCh color 37, 66.990, 290.789 is a dark color, and the websafe version is hex 3366CC. A complement of this color would be 55, 65.892, 68.255, and the grayscale version is 29, 0.005, 296.813.

A 20% lighter version of the original color is 57, 66.502, 290.428, and 21, 64.202, 298.369 is the 20% darker color. If you saturate the color by 10%, you get 37, 68.121, 291.362, and if you desaturate by 10%, it is 40, 59.718, 286.766.

Distribution

RGB Color DistributionThe distribution of the RGB values, red, green and blue.RedThe Perecentage of Red in the Color.GreenThe Perecentage of Green in the Color.BlueThe Perecentage of Blue in the Color.RGB
RYB Color DistributionThe distribution of the RYB values, red, yellow and blue.RedThe Perecentage of Red in the Color.YellowThe Perecentage of Yellow in the Color.BlueThe Perecentage of Blue in the Color.RYB
CMYK Color DistributionThe distribution of the CMYK values, Cyan, Magenta, Yellow and Black.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.BlackThe Perecentage of Black in the Color.CMYK
CMY Color DistributionThe distribution of the CMY values, Cyan, Magenta, Yellow.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.CMY

Brightness & Saturation Gradients

These gradients show how the CIELCh color 37, 66.990, 290.789 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

Similar to the brightness gradients but the following saturation gradients show a change of the CIELCh color 37, 66.990, 290.789 by changing the saturation by 10% instead.

Brightness GradientThese gradients show how the {format} color {color} changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.37, 66.990, 290.789The Color 37, 66.990, 290.789.100, 66.990, 290.789The Color 100, 66.990, 290.789.97, 66.990, 290.789The Color 97, 66.990, 290.789.87, 66.990, 290.789The Color 87, 66.990, 290.789.77, 66.990, 290.789The Color 77, 66.990, 290.789.67, 66.990, 290.789The Color 67, 66.990, 290.789.57, 66.990, 290.789The Color 57, 66.990, 290.789.47, 66.990, 290.789The Color 47, 66.990, 290.789.37, 66.990, 290.789The Color 37, 66.990, 290.789.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]37, 66.990, 290.789The Color 37, 66.990, 290.789.0, 66.990, 290.789The Color 0, 66.990, 290.789.7, 66.990, 290.789The Color 7, 66.990, 290.789.17, 66.990, 290.789The Color 17, 66.990, 290.789.27, 66.990, 290.789The Color 27, 66.990, 290.789.37, 66.990, 290.789The Color 37, 66.990, 290.789.Brightness Gradient

🖌️ View as Color Bucket

Saturation GradientSimilar to the brightness gradients but the following saturation gradients show a change of the {format} color {color} by changing the saturation by 10% instead.37, 66.990, 290.789The Color 37, 66.990, 290.789.37, 68.121, 291.362The Color 37, 68.121, 291.362.37, 66.990, 290.789The Color 37, 66.990, 290.789.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]37, 66.990, 290.789The Color 37, 66.990, 290.789.73, 5.596, 265.126The Color 73, 5.596, 265.126.69, 12.221, 266.620The Color 69, 12.221, 266.620.64, 18.867, 268.398The Color 64, 18.867, 268.398.60, 25.528, 270.494The Color 60, 25.528, 270.494.56, 32.208, 272.955The Color 56, 32.208, 272.955.52, 38.925, 275.822The Color 52, 38.925, 275.822.48, 45.714, 279.112The Color 48, 45.714, 279.112.44, 52.629, 282.794The Color 44, 52.629, 282.794.40, 59.718, 286.766The Color 40, 59.718, 286.766.37, 66.990, 290.789The Color 37, 66.990, 290.789.Saturation Gradient

🖌️ View as Color Bucket

Harmonies

Complementary

The complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.

ComplementaryThe complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.37, 66.990, 290.789The Color 37, 66.990, 290.789.55, 65.892, 68.255The Color 55, 65.892, 68.255.37, 66.990, 290.789The Color 37, 66.990, 290.789.Complementary

🖌️ View as Color Bucket

Rectangle

The rectangle color scheme consists of four colors that form a rectangle on the color wheel.

RectangleThe rectangle color scheme consists of four colors that form a rectangle on the color wheel.37, 66.990, 290.789The Color 37, 66.990, 290.789.37, 66.990, 160.789The Color 37, 66.990, 160.789.37, 66.990, 110.789The Color 37, 66.990, 110.789.37, 66.990, 340.789The Color 37, 66.990, 340.789.37, 66.990, 290.789The Color 37, 66.990, 290.789.Rectangle

🖌️ View as Color Bucket

Sweetspot

The sweet spot groups the original color and five complimentary colors.

SweetspotThe sweet spot groups the original color and five complimentary colors.37, 66.990, 290.791The Color 37, 66.990, 290.791.52, 0.007, 296.813The Color 52, 0.007, 296.813.99, 0.012, 296.813The Color 99, 0.012, 296.813.41, 16.980, 269.676The Color 41, 16.980, 269.676.68, 64.582, 154.029The Color 68, 64.582, 154.029.81, 24.673, 268.794The Color 81, 24.673, 268.794.37, 66.990, 290.791The Color 37, 66.990, 290.791.Sweetspot

🖌️ View as Color Bucket

SVG Images

A selection of SVG images using the hex version #0351BE of the current color.

#0351BE

Previews

White Background

 

This preview shows how the CIELCh color 37, 66.990, 290.789 looks on a white background.

The color contrast ratio for these colors is 7.18, which passes the AAA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for all text sizes. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

 

This preview shows how the CIELCh color 37, 66.990, 290.789 looks on a black background.

The color contrast ratio for these colors is 2.92, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

CIELCh 37, 66.990, 290.789 Background

 

This preview shows how black text looks on a background with the CIELCh color 37, 66.990, 290.789.

 

This preview shows how white text looks on a background with the CIELCh color 37, 66.990, 290.789.

Color Blindness Simulation


Dichromacy

Original Color
37, 66.883, 290.673
Protanopia
37, 58.141, 286.580
Deuteranopia
37, 41.252, 274.007
Tritanopia
37, 24.032, 204.038

Trichromacy

Original Color
37, 66.883, 290.673
Protanomaly
37, 61.050, 288.079
Deuteranomaly
37, 50.099, 281.890
Tritanomaly
36, 30.957, 258.523

Monochromacy

Original Color
37, 66.883, 290.673
Achromatopsia
30, 0.005, 296.813
Achromatomaly
31, 26.333, 275.743

CSS Examples


The CSS property to change the color of the text to CIELCh 37, 66.990, 290.789 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(3, 81, 190) }.

This example shows how text in the color rgb(3, 81, 190) looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px rgb(3, 81, 190) }.

Here you see how black text with a 4 pixel rgb(3, 81, 190) colored shadow looks like.

Border

This example shows the color as border, it can be applied via the CSS property "border" or "border-color".

The CSS property to change the border of an element to CIELCh 37, 66.990, 290.789 is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid rgb(3, 81, 190) }.

If only the border color should be changed .border{ border-color:rgb(3, 81, 190) } can be used.

Here you see how a box with a 4 pixel rgb(3, 81, 190) colored shadow looks like.

If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px rgb(3, 81, 190); -webkit-box-shadow:4px 4px 4px 4px rgb(3, 81, 190); box-shadow:4px 4px 4px 4px rgb(3, 81, 190) }.

Background

The CSS property to change the background color of an element to CIELCh 37, 66.990, 290.789 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(3, 81, 190) }.

If only the background color should be changed .background{ background-color:rgb(3, 81, 190) } can be used.

This example shows the color as background, it is applied via the CSS property "background".

To optimize and compress your CSS code, you can use our online CSS compressor and optimizer based on csstidy. If you want to create a linear gradient as background or border, check our CSS Gradient Generator.

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "0351BE", into the input field and click on convert. The result will be in the section Color Conversions, and the following sections will provide you with further details on the color.

Some color formats use the same notation, and the conversion will guess the composition of the search query. As an example, if you try to convert the string "215°, 98%, 74%" it could be an HSV or HSL color, the conversion will assume HSL in this case.

As this could lead to wrong conversions, you can define which format you are passing by wrapping your color string in brackets with the format in front. The search string "HSV(215°, 98%, 74%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(37.00, 23.78, -62.63)", "CIELCH(37, 66.990, 290.789)", "YXY(9.5379, 0.1707, 0.1335)" and "CMYK(0.98, 0.58, 0.00, 0.26)".