#512def Color Information

In a RGB color space, hex #512def is composed of 31.8% red, 17.6% green and 93.7% blue. Whereas in a CMYK color space, it is composed of 66.1% cyan, 81.2% magenta, 0% yellow and 6.3% black. It has a hue angle of 251.1 degrees, a saturation of 85.8% and a lightness of 55.7%. #512def color hex could be obtained by blending #a25aff with #0000df. Closest websafe color is: #6633ff.

    • R 32
    • G 18
    • B 94
    RGB color chart
    • C 66
    • M 81
    • Y 0
    • K 6
    CMYK color chart

#512def color description : Bright blue.

#512def Color Conversion

The hexadecimal color #512def has RGB values of R:81, G:45, B:239 and CMYK values of C:0.66, M:0.81, Y:0, K:0.06. Its decimal value is 5320175.

Hex triplet 512def #512def
RGB Decimal 81, 45, 239 rgb(81,45,239)
RGB Percent 31.8, 17.6, 93.7 rgb(31.8%,17.6%,93.7%)
CMYK 66, 81, 0, 6
HSL 251.1°, 85.8, 55.7 hsl(251.1,85.8%,55.7%)
HSV (or HSB) 251.1°, 81.2, 93.7
Web Safe 6633ff #6633ff
CIE-LAB 37.585, 65.973, -89.951
XYZ 19.909, 9.857, 82.51
xyY 0.177, 0.088, 9.857
CIE-LCH 37.585, 111.551, 306.257
CIE-LUV 37.585, -2.973, -124.456
Hunter-Lab 31.396, 58.246, -133.839
Binary 01010001, 00101101, 11101111

Color Schemes with #512def

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #512def

Below, you can see some colors close to #512def. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#512def Preview

Text with hexadecimal color #512def

This text has a font color of #512def.

<span style="color:#512def;">Text here</span>
#512def background color

This paragraph has a background color of #512def.

<p style="background-color:#512def;">Content here</p>
#512def border color

This element has a border color of #512def.

<div style="border:1px solid #512def;">Content here</div>
CSS codes
.text {color:#512def;}
.background {background-color:#512def;}
.border {border:1px solid #512def;}

Shades and Tints of #512def

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #020109 is the darkest color, while #f7f5fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #512def

A tone is produced by adding gray to any pure hue. In this case, #8d8d8f is the less saturated color, while #4c24f8 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512def is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #4e4e4e Achromatopsia 0.005% of the population
  • #4f476e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005eb7 Protanopia 1% of men
  • #00639e Deuteranopia 1% of men
  • #006a70 Tritanopia 0.001% of the population
Trichromacy
  • #1d4ccb Protanomaly 1% of men, 0.01% of women
  • #1d4fbb Deuteranomaly 6% of men, 0.4% of women
  • #1d549e Tritanomaly 0.01% of the population