#2B02BA

#2b02ba ≈ Medium Blue

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

#2b02ba is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 16.86% red, 0.78% green and 72.94% blue; printed in CMYK it uses 76.88% cyan, 98.92% magenta, 0% yellow and 27.06% black. Its hue angle is 253.37°, with 97.87% saturation and 36.86% 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.54:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.37.

Description generated from the measured properties of this color.

Conversions of #2b02ba 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.041

Readable text 11.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #393939 ≈ 0.003% of males
Achromatomaly #342c81 ≈ 0.001% of males
Protanopia #0040be ≈ 1.01% of males
Deuteranopia #0031b7 ≈ 1.27% of males
Tritanopia #004b6c ≈ 0.0001% of males
Protanomaly #0032bd ≈ 1.08% of males
Deuteranomaly #0025b8 ≈ 4.63% of males
Tritanomaly #003a92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b02ba {
  color: #2b02ba;
}
Background
.bg-2b02ba {
  background-color: #2b02ba;
  color: #ffffff;
}
Border
.border-2b02ba {
  border: 2px solid #2b02ba;
}
CSS variables
:root {
  --color-primary: #2b02ba;
  --color-primary-rgb: 43 2 186;
  --color-primary-hsl: 253 98% 37%;
}
Gradient
.gradient-2b02ba {
  background: linear-gradient(135deg, #2b02ba, #8702ba);
}
Colored shadow
.shadow-2b02ba {
  box-shadow: 0 8px 24px rgb(43 2 186 / 0.35);
}

Medium Blue
#2b02ba  rgb(43, 2, 186)  hsl(253, 98%, 37%)  Medium Blue
#91ba02  rgb(145, 186, 2)  hsl(73, 98%, 37%)  Apple Green
#ba2b02  rgb(186, 43, 2)  hsl(13, 98%, 37%)  Rust
#02ba2b  rgb(2, 186, 43)  hsl(133, 98%, 37%)  Kelly Green