#2F08DC

#2f08dc ≈ Medium Blue

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

#2f08dc 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 86.27% blue; printed in CMYK it uses 78.64% cyan, 96.36% magenta, 0% yellow and 13.73% black. Its hue angle is 251.04°, with 92.98% saturation and 44.71% 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 9.59:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.3.

Description generated from the measured properties of this color.

Conversions of #2f08dc 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.0595

Readable text 9.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #3d369a ≈ 0.001% of males
Protanopia #004ee1 ≈ 1.01% of males
Deuteranopia #003bd9 ≈ 1.27% of males
Tritanopia #005b81 ≈ 0.0001% of males
Protanomaly #003ddf ≈ 1.08% of males
Deuteranomaly #002eda ≈ 4.63% of males
Tritanomaly #0048ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f08dc {
  color: #2f08dc;
}
Background
.bg-2f08dc {
  background-color: #2f08dc;
  color: #ffffff;
}
Border
.border-2f08dc {
  border: 2px solid #2f08dc;
}
CSS variables
:root {
  --color-primary: #2f08dc;
  --color-primary-rgb: 47 8 220;
  --color-primary-hsl: 251 93% 45%;
}
Gradient
.gradient-2f08dc {
  background: linear-gradient(135deg, #2f08dc, #9908dc);
}
Colored shadow
.shadow-2f08dc {
  box-shadow: 0 8px 24px rgb(47 8 220 / 0.35);
}

Medium Blue
#2f08dc  rgb(47, 8, 220)  hsl(251, 93%, 45%)  Medium Blue
#b5dc08  rgb(181, 220, 8)  hsl(71, 93%, 45%)  Pear
#dc2f08  rgb(220, 47, 8)  hsl(11, 93%, 45%)  Sinopia
#08dc2f  rgb(8, 220, 47)  hsl(131, 93%, 45%)  Malachite