#402EBB

#402ebb ≈ Persian Blue

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

#402ebb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 18.04% green and 73.33% blue; printed in CMYK it uses 65.78% cyan, 75.4% magenta, 0% yellow and 26.67% black. Its hue angle is 247.66°, with 60.52% saturation and 45.69% 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 9.03:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.66.

Description generated from the measured properties of this color.

Conversions of #402ebb 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.0663

Readable text 9.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #454086 ≈ 0.001% of males
Protanopia #004ebf ≈ 1.01% of males
Deuteranopia #0043b8 ≈ 1.27% of males
Tritanopia #005773 ≈ 0.0001% of males
Protanomaly #0043bd ≈ 1.08% of males
Deuteranomaly #003cb9 ≈ 4.63% of males
Tritanomaly #0e4a95 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-402ebb {
  color: #402ebb;
}
Background
.bg-402ebb {
  background-color: #402ebb;
  color: #ffffff;
}
Border
.border-402ebb {
  border: 2px solid #402ebb;
}
CSS variables
:root {
  --color-primary: #402ebb;
  --color-primary-rgb: 64 46 187;
  --color-primary-hsl: 248 61% 46%;
}
Gradient
.gradient-402ebb {
  background: linear-gradient(135deg, #402ebb, #872ebb);
}
Colored shadow
.shadow-402ebb {
  box-shadow: 0 8px 24px rgb(64 46 187 / 0.35);
}

Persian Blue
#402ebb  rgb(64, 46, 187)  hsl(248, 61%, 46%)  Persian Blue
#a9bb2e  rgb(169, 187, 46)  hsl(68, 61%, 46%)  Apple Green
#bb402e  rgb(187, 64, 46)  hsl(8, 61%, 46%)  Persian Red
#2ebb40  rgb(46, 187, 64)  hsl(128, 61%, 46%)  Kelly Green