#042FDB

#042fdb ≈ Persian Blue

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

#042fdb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 18.43% green and 85.88% blue; printed in CMYK it uses 98.17% cyan, 78.54% magenta, 0% yellow and 14.12% black. Its hue angle is 228°, with 96.41% saturation and 43.73% 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 8.63:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.48.

Description generated from the measured properties of this color.

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

Readable text 8.63:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #3b429b ≈ 0.001% of males
Protanopia #0056e0 ≈ 1.01% of males
Deuteranopia #0041d8 ≈ 1.27% of males
Tritanopia #006585 ≈ 0.0001% of males
Protanomaly #0049de ≈ 1.08% of males
Deuteranomaly #003bd9 ≈ 4.63% of males
Tritanomaly #0055ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-042fdb {
  color: #042fdb;
}
Background
.bg-042fdb {
  background-color: #042fdb;
  color: #ffffff;
}
Border
.border-042fdb {
  border: 2px solid #042fdb;
}
CSS variables
:root {
  --color-primary: #042fdb;
  --color-primary-rgb: 4 47 219;
  --color-primary-hsl: 228 96% 44%;
}
Gradient
.gradient-042fdb {
  background: linear-gradient(135deg, #042fdb, #4504db);
}
Colored shadow
.shadow-042fdb {
  box-shadow: 0 8px 24px rgb(4 47 219 / 0.35);
}

Persian Blue
#042fdb  rgb(4, 47, 219)  hsl(228, 96%, 44%)  Persian Blue
#dbb004  rgb(219, 176, 4)  hsl(48, 96%, 44%)  Metallic Gold
#db042f  rgb(219, 4, 47)  hsl(348, 96%, 44%)  Crimson
#2fdb04  rgb(47, 219, 4)  hsl(108, 96%, 44%)  Lime Green