#2A38CB

#2a38cb ≈ Persian Blue

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

#2a38cb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.47% red, 21.96% green and 79.61% blue; printed in CMYK it uses 79.31% cyan, 72.41% magenta, 0% yellow and 20.39% black. Its hue angle is 234.78°, with 65.71% saturation and 48.04% 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 8.31:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 2.64.

Description generated from the measured properties of this color.

Conversions of #2a38cb 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.0763

Readable text 8.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #424691 ≈ 0.001% of males
Protanopia #0056cf ≈ 1.01% of males
Deuteranopia #0046c8 ≈ 1.27% of males
Tritanopia #00627e ≈ 0.0001% of males
Protanomaly #004cce ≈ 1.08% of males
Deuteranomaly #0041c9 ≈ 4.63% of males
Tritanomaly #0054a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a38cb {
  color: #2a38cb;
}
Background
.bg-2a38cb {
  background-color: #2a38cb;
  color: #ffffff;
}
Border
.border-2a38cb {
  border: 2px solid #2a38cb;
}
CSS variables
:root {
  --color-primary: #2a38cb;
  --color-primary-rgb: 42 56 203;
  --color-primary-hsl: 235 66% 48%;
}
Gradient
.gradient-2a38cb {
  background: linear-gradient(135deg, #2a38cb, #6c2acb);
}
Colored shadow
.shadow-2a38cb {
  box-shadow: 0 8px 24px rgb(42 56 203 / 0.35);
}

Persian Blue
#2a38cb  rgb(42, 56, 203)  hsl(235, 66%, 48%)  Persian Blue
#cbbd2a  rgb(203, 189, 42)  hsl(55, 66%, 48%)  Old Gold
#cb2a38  rgb(203, 42, 56)  hsl(355, 66%, 48%)  Persian Red
#38cb2a  rgb(56, 203, 42)  hsl(115, 66%, 48%)  Lime Green