#042BF2

#042bf2 ≈ Blue

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

#042bf2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 16.86% green and 94.9% blue; printed in CMYK it uses 98.35% cyan, 82.23% magenta, 0% yellow and 5.1% black. Its hue angle is 230.17°, with 96.75% saturation and 48.24% 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.98:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.75.

Description generated from the measured properties of this color.

Conversions of #042bf2 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.0816

Readable text 7.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #3f44aa ≈ 0.001% of males
Protanopia #005cf7 ≈ 1.01% of males
Deuteranopia #0045ef ≈ 1.27% of males
Tritanopia #006d92 ≈ 0.0001% of males
Protanomaly #004df5 ≈ 1.08% of males
Deuteranomaly #003cf0 ≈ 4.63% of males
Tritanomaly #005ac0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-042bf2 {
  color: #042bf2;
}
Background
.bg-042bf2 {
  background-color: #042bf2;
  color: #ffffff;
}
Border
.border-042bf2 {
  border: 2px solid #042bf2;
}
CSS variables
:root {
  --color-primary: #042bf2;
  --color-primary-rgb: 4 43 242;
  --color-primary-hsl: 230 97% 48%;
}
Gradient
.gradient-042bf2 {
  background: linear-gradient(135deg, #042bf2, #5404f2);
}
Colored shadow
.shadow-042bf2 {
  box-shadow: 0 8px 24px rgb(4 43 242 / 0.35);
}

Blue
#042bf2  rgb(4, 43, 242)  hsl(230, 97%, 48%)  Blue
#f2cb04  rgb(242, 203, 4)  hsl(50, 97%, 48%)  Jonquil
#f2042b  rgb(242, 4, 43)  hsl(350, 97%, 48%)  Tractor Red
#2bf204  rgb(43, 242, 4)  hsl(110, 97%, 48%)  Lime