#0C2FCD

#0c2fcd ≈ Persian Blue

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

#0c2fcd 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 80.39% blue; printed in CMYK it uses 94.15% cyan, 77.07% magenta, 0% yellow and 19.61% black. Its hue angle is 229.12°, with 88.94% saturation and 42.55% 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.12:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.3.

Description generated from the measured properties of this color.

Conversions of #0c2fcd 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.0652

Readable text 9.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #393f91 ≈ 0.001% of males
Protanopia #0052d1 ≈ 1.01% of males
Deuteranopia #003fca ≈ 1.27% of males
Tritanopia #00607d ≈ 0.0001% of males
Protanomaly #0046d0 ≈ 1.08% of males
Deuteranomaly #0039cb ≈ 4.63% of males
Tritanomaly #0050a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Blue
#0c2fcd  rgb(12, 47, 205)  hsl(229, 89%, 43%)  Persian Blue
#cdaa0c  rgb(205, 170, 12)  hsl(49, 89%, 43%)  Metallic Gold
#cd0c2f  rgb(205, 12, 47)  hsl(349, 89%, 43%)  Fire Engine Red
#2fcd0c  rgb(47, 205, 12)  hsl(109, 89%, 43%)  Lime Green