#2F18CD

#2f18cd ≈ Medium Blue

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

#2f18cd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.43% red, 9.41% green and 80.39% blue; printed in CMYK it uses 77.07% cyan, 88.29% magenta, 0% yellow and 19.61% black. Its hue angle is 247.62°, with 79.04% saturation and 44.9% 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 brand accents. White text on this color reaches a contrast ratio of 9.84:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.95.

Description generated from the measured properties of this color.

Conversions of #2f18cd 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.0567

Readable text 9.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #3c3790 ≈ 0.001% of males
Protanopia #004bd2 ≈ 1.01% of males
Deuteranopia #003bca ≈ 1.27% of males
Tritanopia #005779 ≈ 0.0001% of males
Protanomaly #003dd0 ≈ 1.08% of males
Deuteranomaly #0030cb ≈ 4.63% of males
Tritanomaly #0046a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f18cd {
  color: #2f18cd;
}
Background
.bg-2f18cd {
  background-color: #2f18cd;
  color: #ffffff;
}
Border
.border-2f18cd {
  border: 2px solid #2f18cd;
}
CSS variables
:root {
  --color-primary: #2f18cd;
  --color-primary-rgb: 47 24 205;
  --color-primary-hsl: 248 79% 45%;
}
Gradient
.gradient-2f18cd {
  background: linear-gradient(135deg, #2f18cd, #8918cd);
}
Colored shadow
.shadow-2f18cd {
  box-shadow: 0 8px 24px rgb(47 24 205 / 0.35);
}

Medium Blue
#2f18cd  rgb(47, 24, 205)  hsl(248, 79%, 45%)  Medium Blue
#b6cd18  rgb(182, 205, 24)  hsl(68, 79%, 45%)  Pear
#cd2f18  rgb(205, 47, 24)  hsl(8, 79%, 45%)  Rosso Corsa
#18cd2f  rgb(24, 205, 47)  hsl(128, 79%, 45%)  Lime Green