#0F40CD

#0f40cd ≈ Persian Blue

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

#0f40cd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 5.88% red, 25.1% green and 80.39% blue; printed in CMYK it uses 92.68% cyan, 68.78% magenta, 0% yellow and 19.61% black. Its hue angle is 224.53°, with 86.36% saturation and 43.14% 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 7.97:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 2.97.

Description generated from the measured properties of this color.

Conversions of #0f40cd into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0033cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0818

Readable text 7.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #404b93 ≈ 0.001% of males
Protanopia #005ad1 ≈ 1.01% of males
Deuteranopia #0048ca ≈ 1.27% of males
Tritanopia #006881 ≈ 0.0001% of males
Protanomaly #0051d0 ≈ 1.08% of males
Deuteranomaly #0045cb ≈ 4.63% of males
Tritanomaly #005aa5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0f40cd {
  color: #0f40cd;
}
Background
.bg-0f40cd {
  background-color: #0f40cd;
  color: #ffffff;
}
Border
.border-0f40cd {
  border: 2px solid #0f40cd;
}
CSS variables
:root {
  --color-primary: #0f40cd;
  --color-primary-rgb: 15 64 205;
  --color-primary-hsl: 225 86% 43%;
}
Gradient
.gradient-0f40cd {
  background: linear-gradient(135deg, #0f40cd, #3d0fcd);
}
Colored shadow
.shadow-0f40cd {
  box-shadow: 0 8px 24px rgb(15 64 205 / 0.35);
}

Persian Blue
#0f40cd  rgb(15, 64, 205)  hsl(225, 86%, 43%)  Persian Blue
#cd9c0f  rgb(205, 156, 15)  hsl(45, 86%, 43%)  Goldenrod
#cd0f40  rgb(205, 15, 64)  hsl(345, 86%, 43%)  Cardinal
#40cd0f  rgb(64, 205, 15)  hsl(105, 86%, 43%)  Lime Green