#0C2FAC

#0c2fac ≈ Egyptian Blue

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

#0c2fac 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.43% green and 67.45% blue; printed in CMYK it uses 93.02% cyan, 72.67% magenta, 0% yellow and 32.55% black. Its hue angle is 226.88°, with 86.96% saturation and 36.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 10.41:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 1.75.

Description generated from the measured properties of this color.

Conversions of #0c2fac into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#003399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0509

Readable text 10.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #323a7a ≈ 0.001% of males
Protanopia #0047b0 ≈ 1.01% of males
Deuteranopia #0038aa ≈ 1.27% of males
Tritanopia #00536a ≈ 0.0001% of males
Protanomaly #003fae ≈ 1.08% of males
Deuteranomaly #0035ab ≈ 4.63% of males
Tritanomaly #004789 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c2fac {
  color: #0c2fac;
}
Background
.bg-0c2fac {
  background-color: #0c2fac;
  color: #ffffff;
}
Border
.border-0c2fac {
  border: 2px solid #0c2fac;
}
CSS variables
:root {
  --color-primary: #0c2fac;
  --color-primary-rgb: 12 47 172;
  --color-primary-hsl: 227 87% 36%;
}
Gradient
.gradient-0c2fac {
  background: linear-gradient(135deg, #0c2fac, #390cac);
}
Colored shadow
.shadow-0c2fac {
  box-shadow: 0 8px 24px rgb(12 47 172 / 0.35);
}

Egyptian Blue
#0c2fac  rgb(12, 47, 172)  hsl(227, 87%, 36%)  Egyptian Blue
#ac890c  rgb(172, 137, 12)  hsl(47, 87%, 36%)  Dark Goldenrod
#ac0c2f  rgb(172, 12, 47)  hsl(347, 87%, 36%)  Vivid Burgundy
#2fac0c  rgb(47, 172, 12)  hsl(107, 87%, 36%)  Kelly Green