#31A2FF

#31a2ff ≈ Carolina Blue

  • azure
  • Lightness: medium
  • Saturation: vivid
  • Cool

#31a2ff is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 19.22% red, 63.53% green and 100% blue; printed in CMYK it uses 80.78% cyan, 36.47% magenta, 0% yellow and 0% black. Its hue angle is 207.09°, with 100% saturation and 59.61% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and call-to-action buttons. Black text on this color reaches a contrast ratio of 7.74:1 (WCAG AAA). The closest named color is Carolina Blue (#56a0d3), ΔE 5.07.

Description generated from the measured properties of this color.

Conversions of #31a2ff into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3399ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3371

Readable text 2.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9d9d9d ≈ 0.003% of males
Achromatomaly #809fcc ≈ 0.001% of males
Protanopia #76a7ff ≈ 1.01% of males
Deuteranopia #5795fd ≈ 1.27% of males
Tritanopia #00b8c4 ≈ 0.0001% of males
Protanomaly #61a5ff ≈ 1.08% of males
Deuteranomaly #4a9afe ≈ 4.63% of males
Tritanomaly #00b0de ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-31a2ff {
  color: #31a2ff;
}
Background
.bg-31a2ff {
  background-color: #31a2ff;
  color: #000000;
}
Border
.border-31a2ff {
  border: 2px solid #31a2ff;
}
CSS variables
:root {
  --color-primary: #31a2ff;
  --color-primary-rgb: 49 162 255;
  --color-primary-hsl: 207 100% 60%;
}
Gradient
.gradient-31a2ff {
  background: linear-gradient(135deg, #31a2ff, #313bff);
}
Colored shadow
.shadow-31a2ff {
  box-shadow: 0 8px 24px rgb(49 162 255 / 0.35);
}

Carolina Blue
#31a2ff  rgb(49, 162, 255)  hsl(207, 100%, 60%)  Carolina Blue
#ff8e31  rgb(255, 142, 49)  hsl(27, 100%, 60%)  Cadmium Orange
#ff31a2  rgb(255, 49, 162)  hsl(327, 100%, 60%)  Persian Rose
#a2ff31  rgb(162, 255, 49)  hsl(87, 100%, 60%)  Green Yellow