#0C2FDF

#0c2fdf ≈ Persian Blue

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

#0c2fdf 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 87.45% blue; printed in CMYK it uses 94.62% cyan, 78.92% magenta, 0% yellow and 12.55% black. Its hue angle is 230.05°, with 89.79% saturation and 46.08% 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 8.44:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.92.

Description generated from the measured properties of this color.

Conversions of #0c2fdf 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.0744

Readable text 8.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #3d439e ≈ 0.001% of males
Protanopia #0057e4 ≈ 1.01% of males
Deuteranopia #0042dc ≈ 1.27% of males
Tritanopia #006787 ≈ 0.0001% of males
Protanomaly #004ae2 ≈ 1.08% of males
Deuteranomaly #003bdd ≈ 4.63% of males
Tritanomaly #0056b1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c2fdf {
  color: #0c2fdf;
}
Background
.bg-0c2fdf {
  background-color: #0c2fdf;
  color: #ffffff;
}
Border
.border-0c2fdf {
  border: 2px solid #0c2fdf;
}
CSS variables
:root {
  --color-primary: #0c2fdf;
  --color-primary-rgb: 12 47 223;
  --color-primary-hsl: 230 90% 46%;
}
Gradient
.gradient-0c2fdf {
  background: linear-gradient(135deg, #0c2fdf, #530cdf);
}
Colored shadow
.shadow-0c2fdf {
  box-shadow: 0 8px 24px rgb(12 47 223 / 0.35);
}

Persian Blue
#0c2fdf  rgb(12, 47, 223)  hsl(230, 90%, 46%)  Persian Blue
#dfbc0c  rgb(223, 188, 12)  hsl(50, 90%, 46%)  Jonquil
#df0c2f  rgb(223, 12, 47)  hsl(350, 90%, 46%)  Cadmium Red
#2fdf0c  rgb(47, 223, 12)  hsl(110, 90%, 46%)  Lime Green