#0C2FCF

#0c2fcf ≈ Persian Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#0c2fcf is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 4.71% red, 18.43% green and 81.18% blue; printed in CMYK it uses 94.2% cyan, 77.29% magenta, 0% yellow and 18.82% black. Its hue angle is 229.23°, with 89.04% saturation and 42.94% 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.04:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.46.

Description generated from the measured properties of this color.

Conversions of #0c2fcf 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.0662

Readable text 9.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #394092 ≈ 0.001% of males
Protanopia #0052d4 ≈ 1.01% of males
Deuteranopia #003fcc ≈ 1.27% of males
Tritanopia #00617e ≈ 0.0001% of males
Protanomaly #0047d2 ≈ 1.08% of males
Deuteranomaly #0039cd ≈ 4.63% of males
Tritanomaly #0051a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c2fcf {
  color: #0c2fcf;
}
Background
.bg-0c2fcf {
  background-color: #0c2fcf;
  color: #ffffff;
}
Border
.border-0c2fcf {
  border: 2px solid #0c2fcf;
}
CSS variables
:root {
  --color-primary: #0c2fcf;
  --color-primary-rgb: 12 47 207;
  --color-primary-hsl: 229 89% 43%;
}
Gradient
.gradient-0c2fcf {
  background: linear-gradient(135deg, #0c2fcf, #4a0ccf);
}
Colored shadow
.shadow-0c2fcf {
  box-shadow: 0 8px 24px rgb(12 47 207 / 0.35);
}

Persian Blue
#0c2fcf  rgb(12, 47, 207)  hsl(229, 89%, 43%)  Persian Blue
#cfac0c  rgb(207, 172, 12)  hsl(49, 89%, 43%)  Metallic Gold
#cf0c2f  rgb(207, 12, 47)  hsl(349, 89%, 43%)  Fire Engine Red
#2fcf0c  rgb(47, 207, 12)  hsl(109, 89%, 43%)  Lime Green