#2704BB

#2704bb ≈ Medium Blue

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

#2704bb is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 15.29% red, 1.57% green and 73.33% blue; printed in CMYK it uses 79.14% cyan, 97.86% magenta, 0% yellow and 26.67% black. Its hue angle is 251.48°, with 95.81% saturation and 37.45% 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.53:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.15.

Description generated from the measured properties of this color.

Conversions of #2704bb 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.0411

Readable text 11.53: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 #332c82 ≈ 0.001% of males
Protanopia #0041bf ≈ 1.01% of males
Deuteranopia #0030b8 ≈ 1.27% of males
Tritanopia #004c6d ≈ 0.0001% of males
Protanomaly #0032be ≈ 1.08% of males
Deuteranomaly #0025b9 ≈ 4.63% of males
Tritanomaly #003b93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2704bb {
  color: #2704bb;
}
Background
.bg-2704bb {
  background-color: #2704bb;
  color: #ffffff;
}
Border
.border-2704bb {
  border: 2px solid #2704bb;
}
CSS variables
:root {
  --color-primary: #2704bb;
  --color-primary-rgb: 39 4 187;
  --color-primary-hsl: 251 96% 37%;
}
Gradient
.gradient-2704bb {
  background: linear-gradient(135deg, #2704bb, #8304bb);
}
Colored shadow
.shadow-2704bb {
  box-shadow: 0 8px 24px rgb(39 4 187 / 0.35);
}

Medium Blue
#2704bb  rgb(39, 4, 187)  hsl(251, 96%, 37%)  Medium Blue
#98bb04  rgb(152, 187, 4)  hsl(71, 96%, 37%)  Apple Green
#bb2704  rgb(187, 39, 4)  hsl(11, 96%, 37%)  Rosso Corsa
#04bb27  rgb(4, 187, 39)  hsl(131, 96%, 37%)  Kelly Green