#2F12EA

#2f12ea ≈ Blue

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

#2f12ea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 7.06% green and 91.76% blue; printed in CMYK it uses 79.91% cyan, 92.31% magenta, 0% yellow and 8.24% black. Its hue angle is 248.06°, with 85.71% saturation and 49.41% 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.77:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.08.

Description generated from the measured properties of this color.

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

Readable text 8.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #413ba4 ≈ 0.001% of males
Protanopia #0054ef ≈ 1.01% of males
Deuteranopia #0040e7 ≈ 1.27% of males
Tritanopia #00638a ≈ 0.0001% of males
Protanomaly #0043ed ≈ 1.08% of males
Deuteranomaly #0033e8 ≈ 4.63% of males
Tritanomaly #004fb8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f12ea {
  color: #2f12ea;
}
Background
.bg-2f12ea {
  background-color: #2f12ea;
  color: #ffffff;
}
Border
.border-2f12ea {
  border: 2px solid #2f12ea;
}
CSS variables
:root {
  --color-primary: #2f12ea;
  --color-primary-rgb: 47 18 234;
  --color-primary-hsl: 248 86% 49%;
}
Gradient
.gradient-2f12ea {
  background: linear-gradient(135deg, #2f12ea, #9b12ea);
}
Colored shadow
.shadow-2f12ea {
  box-shadow: 0 8px 24px rgb(47 18 234 / 0.35);
}

Blue
#2f12ea  rgb(47, 18, 234)  hsl(248, 86%, 49%)  Blue
#cdea12  rgb(205, 234, 18)  hsl(68, 86%, 49%)  Pear
#ea2f12  rgb(234, 47, 18)  hsl(8, 86%, 49%)  Red
#12ea2f  rgb(18, 234, 47)  hsl(128, 86%, 49%)  Lime