#1F42E2

#1f42e2 ≈ Persian Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#1f42e2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.16% red, 25.88% green and 88.63% blue; printed in CMYK it uses 86.28% cyan, 70.8% magenta, 0% yellow and 11.37% black. Its hue angle is 229.23°, with 77.08% saturation and 50.39% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 7.15:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 5.67.

Description generated from the measured properties of this color.

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

Readable text 7.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #4750a2 ≈ 0.001% of males
Protanopia #0061e7 ≈ 1.01% of males
Deuteranopia #004edf ≈ 1.27% of males
Tritanopia #00708e ≈ 0.0001% of males
Protanomaly #0056e5 ≈ 1.08% of males
Deuteranomaly #004ae0 ≈ 4.63% of males
Tritanomaly #0061b6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1f42e2 {
  color: #1f42e2;
}
Background
.bg-1f42e2 {
  background-color: #1f42e2;
  color: #ffffff;
}
Border
.border-1f42e2 {
  border: 2px solid #1f42e2;
}
CSS variables
:root {
  --color-primary: #1f42e2;
  --color-primary-rgb: 31 66 226;
  --color-primary-hsl: 229 77% 50%;
}
Gradient
.gradient-1f42e2 {
  background: linear-gradient(135deg, #1f42e2, #5d1fe2);
}
Colored shadow
.shadow-1f42e2 {
  box-shadow: 0 8px 24px rgb(31 66 226 / 0.35);
}

Persian Blue
#1f42e2  rgb(31, 66, 226)  hsl(229, 77%, 50%)  Persian Blue
#e2bf1f  rgb(226, 191, 31)  hsl(49, 77%, 50%)  Jonquil
#e21f42  rgb(226, 31, 66)  hsl(349, 77%, 50%)  Crimson
#42e21f  rgb(66, 226, 31)  hsl(109, 77%, 50%)  Lime Green