#0C2ABA

#0c2aba ≈ Persian Blue

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#0c2aba is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 4.71% red, 16.47% green and 72.94% blue; printed in CMYK it uses 93.55% cyan, 77.42% magenta, 0% yellow and 27.06% black. Its hue angle is 229.66°, with 87.88% saturation and 38.82% 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 10.21:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.81.

Description generated from the measured properties of this color.

Conversions of #0c2aba 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.0528

Readable text 10.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.06:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #333983 ≈ 0.001% of males
Protanopia #0049be ≈ 1.01% of males
Deuteranopia #0038b8 ≈ 1.27% of males
Tritanopia #005671 ≈ 0.0001% of males
Protanomaly #003fbc ≈ 1.08% of males
Deuteranomaly #0033b9 ≈ 4.63% of males
Tritanomaly #004894 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c2aba {
  color: #0c2aba;
}
Background
.bg-0c2aba {
  background-color: #0c2aba;
  color: #ffffff;
}
Border
.border-0c2aba {
  border: 2px solid #0c2aba;
}
CSS variables
:root {
  --color-primary: #0c2aba;
  --color-primary-rgb: 12 42 186;
  --color-primary-hsl: 230 88% 39%;
}
Gradient
.gradient-0c2aba {
  background: linear-gradient(135deg, #0c2aba, #450cba);
}
Colored shadow
.shadow-0c2aba {
  box-shadow: 0 8px 24px rgb(12 42 186 / 0.35);
}

Persian Blue
#0c2aba  rgb(12, 42, 186)  hsl(230, 88%, 39%)  Persian Blue
#ba9c0c  rgb(186, 156, 12)  hsl(50, 88%, 39%)  Brass
#ba0c2a  rgb(186, 12, 42)  hsl(350, 88%, 39%)  Firebrick
#2aba0c  rgb(42, 186, 12)  hsl(110, 88%, 39%)  Kelly Green