#0042E7

#0042e7 ≈ Persian Blue

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

#0042e7 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0% red, 25.88% green and 90.59% blue; printed in CMYK it uses 100% cyan, 71.43% magenta, 0% yellow and 9.41% black. Its hue angle is 222.86°, with 100% saturation and 45.29% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.16:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 6.

Description generated from the measured properties of this color.

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

Readable text 7.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #4450a5 ≈ 0.001% of males
Protanopia #0062ec ≈ 1.01% of males
Deuteranopia #004de4 ≈ 1.27% of males
Tritanopia #007290 ≈ 0.0001% of males
Protanomaly #0057ea ≈ 1.08% of males
Deuteranomaly #0049e5 ≈ 4.63% of males
Tritanomaly #0062b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0042e7 {
  color: #0042e7;
}
Background
.bg-0042e7 {
  background-color: #0042e7;
  color: #ffffff;
}
Border
.border-0042e7 {
  border: 2px solid #0042e7;
}
CSS variables
:root {
  --color-primary: #0042e7;
  --color-primary-rgb: 0 66 231;
  --color-primary-hsl: 223 100% 45%;
}
Gradient
.gradient-0042e7 {
  background: linear-gradient(135deg, #0042e7, #3200e7);
}
Colored shadow
.shadow-0042e7 {
  box-shadow: 0 8px 24px rgb(0 66 231 / 0.35);
}

Persian Blue
#0042e7  rgb(0, 66, 231)  hsl(223, 100%, 45%)  Persian Blue
#e7a500  rgb(231, 165, 0)  hsl(43, 100%, 45%)  Marigold
#e70042  rgb(231, 0, 66)  hsl(343, 100%, 45%)  Crimson
#42e700  rgb(66, 231, 0)  hsl(103, 100%, 45%)  Neon Green