#0C28EA

#0c28ea ≈ Blue

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

#0c28ea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 4.71% red, 15.69% green and 91.76% blue; printed in CMYK it uses 94.87% cyan, 82.91% magenta, 0% yellow and 8.24% black. Its hue angle is 232.43°, with 90.24% saturation and 48.24% 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.38:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.51.

Description generated from the measured properties of this color.

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

Readable text 8.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #3d42a5 ≈ 0.001% of males
Protanopia #0058ef ≈ 1.01% of males
Deuteranopia #0042e7 ≈ 1.27% of males
Tritanopia #00698d ≈ 0.0001% of males
Protanomaly #004aed ≈ 1.08% of males
Deuteranomaly #0039e8 ≈ 4.63% of males
Tritanomaly #0056b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c28ea {
  color: #0c28ea;
}
Background
.bg-0c28ea {
  background-color: #0c28ea;
  color: #ffffff;
}
Border
.border-0c28ea {
  border: 2px solid #0c28ea;
}
CSS variables
:root {
  --color-primary: #0c28ea;
  --color-primary-rgb: 12 40 234;
  --color-primary-hsl: 232 90% 48%;
}
Gradient
.gradient-0c28ea {
  background: linear-gradient(135deg, #0c28ea, #5f0cea);
}
Colored shadow
.shadow-0c28ea {
  box-shadow: 0 8px 24px rgb(12 40 234 / 0.35);
}

Blue
#0c28ea  rgb(12, 40, 234)  hsl(232, 90%, 48%)  Blue
#eace0c  rgb(234, 206, 12)  hsl(52, 90%, 48%)  Citrine
#ea0c28  rgb(234, 12, 40)  hsl(352, 90%, 48%)  Cadmium Red
#28ea0c  rgb(40, 234, 12)  hsl(112, 90%, 48%)  Lime