#2F0EB4

#2f0eb4 ≈ Medium Blue

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#2f0eb4 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 18.43% red, 5.49% green and 70.59% blue; printed in CMYK it uses 73.89% cyan, 92.22% magenta, 0% yellow and 29.41% black. Its hue angle is 251.93°, with 85.57% saturation and 38.04% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 11.4:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.08.

Description generated from the measured properties of this color.

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

Readable text 11.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3a3a3a ≈ 0.003% of males
Achromatomaly #362e7e ≈ 0.001% of males
Protanopia #0040b8 ≈ 1.01% of males
Deuteranopia #0033b1 ≈ 1.27% of males
Tritanopia #004a69 ≈ 0.0001% of males
Protanomaly #0033b6 ≈ 1.08% of males
Deuteranomaly #0028b2 ≈ 4.63% of males
Tritanomaly #003b8d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f0eb4 {
  color: #2f0eb4;
}
Background
.bg-2f0eb4 {
  background-color: #2f0eb4;
  color: #ffffff;
}
Border
.border-2f0eb4 {
  border: 2px solid #2f0eb4;
}
CSS variables
:root {
  --color-primary: #2f0eb4;
  --color-primary-rgb: 47 14 180;
  --color-primary-hsl: 252 86% 38%;
}
Gradient
.gradient-2f0eb4 {
  background: linear-gradient(135deg, #2f0eb4, #820eb4);
}
Colored shadow
.shadow-2f0eb4 {
  box-shadow: 0 8px 24px rgb(47 14 180 / 0.35);
}

Medium Blue
#2f0eb4  rgb(47, 14, 180)  hsl(252, 86%, 38%)  Medium Blue
#93b40e  rgb(147, 180, 14)  hsl(72, 86%, 38%)  Apple Green
#b42f0e  rgb(180, 47, 14)  hsl(12, 86%, 38%)  Rufous
#0eb42f  rgb(14, 180, 47)  hsl(132, 86%, 38%)  Kelly Green