#0C4EEC

#0c4eec ≈ Iris

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

#0c4eec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 4.71% red, 30.59% green and 92.55% blue; printed in CMYK it uses 94.92% cyan, 66.95% magenta, 0% yellow and 7.45% black. Its hue angle is 222.32°, with 90.32% saturation and 48.63% 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 6.33:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 6.41.

Description generated from the measured properties of this color.

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

Readable text 6.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #4b59ab ≈ 0.001% of males
Protanopia #006af1 ≈ 1.01% of males
Deuteranopia #0056e9 ≈ 1.27% of males
Tritanopia #007a97 ≈ 0.0001% of males
Protanomaly #0060ef ≈ 1.08% of males
Deuteranomaly #0053ea ≈ 4.63% of males
Tritanomaly #006bbf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c4eec {
  color: #0c4eec;
}
Background
.bg-0c4eec {
  background-color: #0c4eec;
  color: #ffffff;
}
Border
.border-0c4eec {
  border: 2px solid #0c4eec;
}
CSS variables
:root {
  --color-primary: #0c4eec;
  --color-primary-rgb: 12 78 236;
  --color-primary-hsl: 222 90% 49%;
}
Gradient
.gradient-0c4eec {
  background: linear-gradient(135deg, #0c4eec, #3a0cec);
}
Colored shadow
.shadow-0c4eec {
  box-shadow: 0 8px 24px rgb(12 78 236 / 0.35);
}

Iris
#0c4eec  rgb(12, 78, 236)  hsl(222, 90%, 49%)  Iris
#ecaa0c  rgb(236, 170, 12)  hsl(42, 90%, 49%)  Marigold
#ec0c4e  rgb(236, 12, 78)  hsl(342, 90%, 49%)  Amaranth
#4eec0c  rgb(78, 236, 12)  hsl(102, 90%, 49%)  Harlequin