#2F08CC

#2f08cc ≈ Medium Blue

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#2f08cc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 3.14% green and 80% blue; printed in CMYK it uses 76.96% cyan, 96.08% magenta, 0% yellow and 20% black. Its hue angle is 251.94°, with 92.45% saturation and 41.57% 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 10.36:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.96.

Description generated from the measured properties of this color.

Conversions of #2f08cc 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.0514

Readable text 10.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.03:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #3a328e ≈ 0.001% of males
Protanopia #0048d1 ≈ 1.01% of males
Deuteranopia #0037c9 ≈ 1.27% of males
Tritanopia #005477 ≈ 0.0001% of males
Protanomaly #0038cf ≈ 1.08% of males
Deuteranomaly #002bca ≈ 4.63% of males
Tritanomaly #0042a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f08cc {
  color: #2f08cc;
}
Background
.bg-2f08cc {
  background-color: #2f08cc;
  color: #ffffff;
}
Border
.border-2f08cc {
  border: 2px solid #2f08cc;
}
CSS variables
:root {
  --color-primary: #2f08cc;
  --color-primary-rgb: 47 8 204;
  --color-primary-hsl: 252 92% 42%;
}
Gradient
.gradient-2f08cc {
  background: linear-gradient(135deg, #2f08cc, #9108cc);
}
Colored shadow
.shadow-2f08cc {
  box-shadow: 0 8px 24px rgb(47 8 204 / 0.35);
}

Medium Blue
#2f08cc  rgb(47, 8, 204)  hsl(252, 92%, 42%)  Medium Blue
#a5cc08  rgb(165, 204, 8)  hsl(72, 92%, 42%)  Yellow Green
#cc2f08  rgb(204, 47, 8)  hsl(12, 92%, 42%)  Rosso Corsa
#08cc2f  rgb(8, 204, 47)  hsl(132, 92%, 42%)  Lime Green