#0C2EBA

#0c2eba ≈ Persian Blue

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

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

Description generated from the measured properties of this color.

Conversions of #0c2eba 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.0558

Readable text 9.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #343b84 ≈ 0.001% of males
Protanopia #004bbe ≈ 1.01% of males
Deuteranopia #003ab8 ≈ 1.27% of males
Tritanopia #005872 ≈ 0.0001% of males
Protanomaly #0041bc ≈ 1.08% of males
Deuteranomaly #0036b9 ≈ 4.63% of males
Tritanomaly #004b94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Blue
#0c2eba  rgb(12, 46, 186)  hsl(228, 88%, 39%)  Persian Blue
#ba980c  rgb(186, 152, 12)  hsl(48, 88%, 39%)  Metallic Gold
#ba0c2e  rgb(186, 12, 46)  hsl(348, 88%, 39%)  Cardinal
#2eba0c  rgb(46, 186, 12)  hsl(108, 88%, 39%)  Kelly Green