#270EC6

#270ec6 ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#270ec6 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 15.29% red, 5.49% green and 77.65% blue; printed in CMYK it uses 80.3% cyan, 92.93% magenta, 0% yellow and 22.35% black. Its hue angle is 248.15°, with 86.79% saturation and 41.57% 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 10.69:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.6.

Description generated from the measured properties of this color.

Conversions of #270ec6 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.0482

Readable text 10.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #36318a ≈ 0.001% of males
Protanopia #0046ca ≈ 1.01% of males
Deuteranopia #0035c3 ≈ 1.27% of males
Tritanopia #005374 ≈ 0.0001% of males
Protanomaly #0037c9 ≈ 1.08% of males
Deuteranomaly #002ac4 ≈ 4.63% of males
Tritanomaly #00419c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-270ec6 {
  color: #270ec6;
}
Background
.bg-270ec6 {
  background-color: #270ec6;
  color: #ffffff;
}
Border
.border-270ec6 {
  border: 2px solid #270ec6;
}
CSS variables
:root {
  --color-primary: #270ec6;
  --color-primary-rgb: 39 14 198;
  --color-primary-hsl: 248 87% 42%;
}
Gradient
.gradient-270ec6 {
  background: linear-gradient(135deg, #270ec6, #830ec6);
}
Colored shadow
.shadow-270ec6 {
  box-shadow: 0 8px 24px rgb(39 14 198 / 0.35);
}

Medium Blue
#270ec6  rgb(39, 14, 198)  hsl(248, 87%, 42%)  Medium Blue
#adc60e  rgb(173, 198, 14)  hsl(68, 87%, 42%)  Yellow Green
#c6270e  rgb(198, 39, 14)  hsl(8, 87%, 42%)  Rosso Corsa
#0ec627  rgb(14, 198, 39)  hsl(128, 87%, 42%)  Lime Green