• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar

RGB-HEX

Convert RGB and HEX Colors to different formats

  • RGB Converters ↓
    • RGB to HEX
    • RGB to CMYK
    • RGB to HSV
    • RGB to HSL
  • HEX Converters ↓
    • HEX to RGB
    • HEX to CMYK
    • HEX to HSV
    • HEX to HSL
  • CMYK Converters ↓
    • CMYK to RGB
    • CMYK to HEX
    • CMYK to HSV
    • CMYK to HSL
  • Color Codes
  • Random Color Generator

#1F51FF

RGB, CMYK, HSV, and HSL values for the color represented by the HEX code #1f51ff.

RGB: 31, 81, 255CMYK: 88%, 68%, 0%, 0%
HSV: H: 227° S: 88% V: 100%HSL: H: 227° S: 100% L: 56%

#1F51FF Color Preview

Save as image

#1f51ff is a shade of blue color with RGB values (31, 81, 255). As mentioned above, this color is a combination of CMYK: 88% Cyan, 68% Magenta, 0% Yellow, and 0% Key (Black) in the CMYK color model.

As mentioned in the table, the HSL cylindrical-coordinate representations have the following values: Hue (H): 227°, Saturation (S): 100%, and Lightness (L): 56%.

The HSV values for #1f51ff are as follows: Hue (H): 227°, Saturation (S): 88%, Value (V): 100%.

RGB Values

Red 31/255
Green 81/255
Blue 255/255

RGB Values in Percentage

31%
81%
255%

CMYK Distribution

Cyan: C88%
Magenta: M68%
Yellow: Y0%
Key: K (Black)0%

Below is the visual demonstration of #1F51FF color shade that interacts to create distinct effects on black and white backgrounds and texts.

This is sample text
This is sample text
This is sample text
This is sample text
Copy
<div style="color: #1F51FF; background-color: #000000;">This is sample text</div>
<div style="color: #000000; background-color: #1F51FF;">This is sample text</div>
<div style="color: #ffffff; background-color: #1F51FF;">This is sample text</div>
<div style="color: #1F51FF;">This is sample text</div>

CSS Codes

You can freely substitute any of these values for CSS properties that require a color input: color, background color, and border color.

Copy
color: rgb(31, 81, 255);
color: #1f51ff;

Examples

Copy
color: rgb(31, 81, 255);
background-color: rgb(31, 81, 255);
border-color: rgb(31, 81, 255);
Copy
color: #1f51ff;
background-color: #1f51ff;
border-color: #1f51ff;

Color schemes with #1F51FF

Analogous

Here, the analogous color with hex code #1F51FF has #5D1FFF and #1FC1FF at 30 degrees clockwise and counterclockwise.

Monochromatic

For the shade with hex code #1F51FF, a monochromatic palette will feature a corresponding shade #0034EB, originating from the same hue.

Triadic

The triadic palette built around #1F51FF uses two accents #FF1F51 and #51FF1F, each 120 degrees apart from the main hue.

Complementary

The complementary color for #1F51FF is #FFCD1F.

Tetradic

Here, for the primary color #1F51FF, the complementary shade is #FF1FC1 plus two accent colors, i.e., #FFCD1F and #1FFF5D.

Similar Colors

Code Code Code Code Code Code Code Code Code Code Code Code Code Code Code Code Code Code Code Code

Primary Sidebar

Check Color Shades

Secondary Sidebar

Just Launched

  • Random Color Generator

RGB Converters

  • RGB to Hex
  • RGB to CMYK
  • RGB to HSL
  • RGB to HSV

HEX Converters

  • HEX to RGB
  • HEX to CMYK
  • HEX to HSL
  • HEX to HSV

About Us · Privacy Policy · Terms of Use · Contact Us
Copyright rgb-hex © 2025