#3A42E6

#3a42e6 ≈ Iris

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#3a42e6 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 22.75% red, 25.88% green and 90.2% blue; printed in CMYK it uses 74.78% cyan, 71.3% magenta, 0% yellow and 9.8% black. Its hue angle is 237.21°, with 77.48% saturation and 56.47% 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 6.77:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.02.

Description generated from the measured properties of this color.

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

Readable text 6.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #5052a6 ≈ 0.001% of males
Protanopia #0064eb ≈ 1.01% of males
Deuteranopia #0053e3 ≈ 1.27% of males
Tritanopia #007190 ≈ 0.0001% of males
Protanomaly #0058e9 ≈ 1.08% of males
Deuteranomaly #004de4 ≈ 4.63% of males
Tritanomaly #0061b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3a42e6 {
  color: #3a42e6;
}
Background
.bg-3a42e6 {
  background-color: #3a42e6;
  color: #ffffff;
}
Border
.border-3a42e6 {
  border: 2px solid #3a42e6;
}
CSS variables
:root {
  --color-primary: #3a42e6;
  --color-primary-rgb: 58 66 230;
  --color-primary-hsl: 237 77% 56%;
}
Gradient
.gradient-3a42e6 {
  background: linear-gradient(135deg, #3a42e6, #883ae6);
}
Colored shadow
.shadow-3a42e6 {
  box-shadow: 0 8px 24px rgb(58 66 230 / 0.35);
}

Iris
#3a42e6  rgb(58, 66, 230)  hsl(237, 77%, 56%)  Iris
#e6de3a  rgb(230, 222, 58)  hsl(57, 77%, 56%)  Dandelion
#e63a42  rgb(230, 58, 66)  hsl(357, 77%, 56%)  Tractor Red
#42e63a  rgb(66, 230, 58)  hsl(117, 77%, 56%)  Malachite