#0C4EEF

#0c4eef ≈ Iris

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

#0c4eef 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 93.73% blue; printed in CMYK it uses 94.98% cyan, 67.36% magenta, 0% yellow and 6.27% black. Its hue angle is 222.56°, with 90.44% saturation and 49.22% 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.27:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 6.44.

Description generated from the measured properties of this color.

Conversions of #0c4eef 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.1176

Readable text 6.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #4c59ad ≈ 0.001% of males
Protanopia #006bf4 ≈ 1.01% of males
Deuteranopia #0056ec ≈ 1.27% of males
Tritanopia #007b98 ≈ 0.0001% of males
Protanomaly #0060f2 ≈ 1.08% of males
Deuteranomaly #0053ed ≈ 4.63% of males
Tritanomaly #006cc1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Iris
#0c4eef  rgb(12, 78, 239)  hsl(223, 90%, 49%)  Iris
#efad0c  rgb(239, 173, 12)  hsl(43, 90%, 49%)  Marigold
#ef0c4e  rgb(239, 12, 78)  hsl(343, 90%, 49%)  Amaranth
#4eef0c  rgb(78, 239, 12)  hsl(103, 90%, 49%)  Harlequin