#1F7FA2

#1f7fa2 ≈ Cerulean

  • azure
  • Lightness: low
  • Saturation: strong
  • Cool

#1f7fa2 is a color from the azure family, with low lightness and strong saturation. In the RGB model it is made of 12.16% red, 49.8% green and 63.53% blue; printed in CMYK it uses 80.86% cyan, 21.6% magenta, 0% yellow and 36.47% black. Its hue angle is 196.03°, with 67.88% saturation and 37.84% 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 brand accents. Black text on this color reaches a contrast ratio of 4.62:1 (WCAG AA). The closest named color is Cerulean (#007ba7), ΔE 2.94.

Description generated from the measured properties of this color.

Conversions of #1f7fa2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#336699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1808

Readable text 4.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.62:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #5f7a8a ≈ 0.001% of males
Protanopia #6d7da4 ≈ 1.01% of males
Deuteranopia #5b71a2 ≈ 1.27% of males
Tritanopia #00898b ≈ 0.0001% of males
Protanomaly #577ea3 ≈ 1.08% of males
Deuteranomaly #4a77a2 ≈ 4.63% of males
Tritanomaly #008595 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1f7fa2 {
  color: #1f7fa2;
}
Background
.bg-1f7fa2 {
  background-color: #1f7fa2;
  color: #000000;
}
Border
.border-1f7fa2 {
  border: 2px solid #1f7fa2;
}
CSS variables
:root {
  --color-primary: #1f7fa2;
  --color-primary-rgb: 31 127 162;
  --color-primary-hsl: 196 68% 38%;
}
Gradient
.gradient-1f7fa2 {
  background: linear-gradient(135deg, #1f7fa2, #1f3da2);
}
Colored shadow
.shadow-1f7fa2 {
  box-shadow: 0 8px 24px rgb(31 127 162 / 0.35);
}

Cerulean
#1f7fa2  rgb(31, 127, 162)  hsl(196, 68%, 38%)  Cerulean
#a2421f  rgb(162, 66, 31)  hsl(16, 68%, 38%)  Sienna
#a21f7f  rgb(162, 31, 127)  hsl(316, 68%, 38%)  Deep Plum
#7fa21f  rgb(127, 162, 31)  hsl(76, 68%, 38%)  Apple Green