#2F0FDB

#2f0fdb ≈ Medium Blue

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

#2f0fdb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 5.88% green and 85.88% blue; printed in CMYK it uses 78.54% cyan, 93.15% magenta, 0% yellow and 14.12% black. Its hue angle is 249.41°, with 87.18% saturation and 45.88% 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 9.49:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.46.

Description generated from the measured properties of this color.

Conversions of #2f0fdb 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.0606

Readable text 9.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #3e3799 ≈ 0.001% of males
Protanopia #004fe0 ≈ 1.01% of males
Deuteranopia #003cd8 ≈ 1.27% of males
Tritanopia #005c81 ≈ 0.0001% of males
Protanomaly #003ede ≈ 1.08% of males
Deuteranomaly #002fd9 ≈ 4.63% of males
Tritanomaly #0049ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f0fdb {
  color: #2f0fdb;
}
Background
.bg-2f0fdb {
  background-color: #2f0fdb;
  color: #ffffff;
}
Border
.border-2f0fdb {
  border: 2px solid #2f0fdb;
}
CSS variables
:root {
  --color-primary: #2f0fdb;
  --color-primary-rgb: 47 15 219;
  --color-primary-hsl: 249 87% 46%;
}
Gradient
.gradient-2f0fdb {
  background: linear-gradient(135deg, #2f0fdb, #950fdb);
}
Colored shadow
.shadow-2f0fdb {
  box-shadow: 0 8px 24px rgb(47 15 219 / 0.35);
}

Medium Blue
#2f0fdb  rgb(47, 15, 219)  hsl(249, 87%, 46%)  Medium Blue
#bbdb0f  rgb(187, 219, 15)  hsl(69, 87%, 46%)  Pear
#db2f0f  rgb(219, 47, 15)  hsl(9, 87%, 46%)  Lust
#0fdb2f  rgb(15, 219, 47)  hsl(129, 87%, 46%)  Malachite